Re: [CMake] debug- and release options

2006-02-07 Thread Brad King
Filipe Sousa wrote: Brad King wrote: There is no default, if the build type is not set then _neither_ will be linked. The reason there is no default is a bit complicated (I once Are you sure? I did this test with the fallowing CMakeLists.txt [snip] [EMAIL PROTECTED] ~/tmp/default/build $

[CMake] debug- and release options

2006-02-06 Thread Alexander Neundorf
Hi, I just played a bit around with debug and release options in cmake. Am I right that: CMAKE_CXX_FLAGS is used always CMAKE_CXX_FLAGS_DEBUG and CMAKE_CXX_FLAGS are used for buildtype==debug CMAKE_CXX_FLAGS_RELEASE and CMAKE_CXX_FLAGS are used for buildtype==release

Re: [CMake] debug- and release options

2006-02-06 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad King wrote: Filipe Sousa wrote: There is no default, if the build type is not set then _neither_ will be linked. The reason there is no default is a bit complicated (I once Are you sure? I did this test with the fallowing CMakeLists.txt