Hi guys. I'm feeling retarded.
I've never used cmake before, and even after a while of web searching, I'm still missing something probably obvious.
WTH is the equivalent of `/path/to/src/configure CFLAGS="-g3 -O0" ' with cmake ?
I'm trying to build a debug version of dolphin on linux.
Found it, I think. Apparently it's:
$ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS_DEBUG="-g3 -O0" -DCMAKE_CXX_FLAGS_DEBUG="-g3 -O0" ..
Though debug build type doesn't link currently. (is it supposed to, or nobody uses that mode?)
In release build type, this built fine:
$ cmake -DCMAKE_C_FLAGS="-g3 -O0" -DCMAKE_CXX_FLAGS="-g3 -O0" ..
Phew...
I've never used cmake before, and even after a while of web searching, I'm still missing something probably obvious.
WTH is the equivalent of `/path/to/src/configure CFLAGS="-g3 -O0" ' with cmake ?
I'm trying to build a debug version of dolphin on linux.
Found it, I think. Apparently it's:
$ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS_DEBUG="-g3 -O0" -DCMAKE_CXX_FLAGS_DEBUG="-g3 -O0" ..
Though debug build type doesn't link currently. (is it supposed to, or nobody uses that mode?)
In release build type, this built fine:
$ cmake -DCMAKE_C_FLAGS="-g3 -O0" -DCMAKE_CXX_FLAGS="-g3 -O0" ..
Phew...