> Yes just use something like: > > IF ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" ) > > ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" )
For generation Makefiles this could work. But what about MSVS project files? My understanding was that this wouldn't work since the CMAKE_BUILD_TYPE will not be used in multi-configuration environments. Regards, Florian _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake