Fix CMake build types and compiler flags
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Mar 2013 23:41:54 +0000 (00:41 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Mar 2013 23:41:54 +0000 (00:41 +0100)
commit2351076991b1ccb6bd3ef06ed11450fedd74bba5
treeafc14c7b158f520a80c40197929ad0a482015de1
parent04ae73c23b61070a296016b5af130fd600ea678f
Fix CMake build types and compiler flags

Turns out there were various typos in this that noone ever noticed,
most notably leading to QT_NO_DEBUG not being defined in RelWithDebInfo
builds. We're now also defaulting to RelWithDebInfo for Win32; please
let me know if that still causes problems.

While I was at it, I also added CMAKE_BUILD_TYPE=Profile, and pimped the
compiler warnings in general. In particular, -Woverloaded-virtual seems
rather useful with all the template trickery we're introducing lately.
CMakeLists.txt