Set CMAKE_BUILD_TYPE=RelWithDebugInfo if it's not set manually.
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Feb 2009 23:41:41 +0000 (00:41 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 4 Feb 2009 23:57:27 +0000 (00:57 +0100)
commitdbf2519bd6f250b03a5311fea58a608a15192e82
tree689c3090e6b081fb173930a5d3aee04784848e4e
parent53c7a85fd154fa18eab6217bfd4b173307c47e5d
Set CMAKE_BUILD_TYPE=RelWithDebugInfo if it's not set manually.

Also, we enable some gcc flags to provide for better debugging information.
Use -DCMAKE_BUILD_TYPE=Debug for mostly optimized, but debuggable builds.
Use -DCMAKE_BUILD_TYPE=Debugfull for -g3 (all debug info).

This should fix #503 too (I hope)
CMakeLists.txt