Sylvain PRAT wrote:
- how do you force configuration types in a CMakeLists.txt file to debug and release only? I seem to recall that this is not possible. Right?

IF(CMAKE_CONFIGURATION_TYPES)
  SET(CMAKE_CONFIGURATION_TYPES Debug Release)
ENDIF(CMAKE_CONFIGURATION_TYPES)

- or how to avoid the duplicate copy? That is, how could i just install the release library and not the relwithdebuginfo nor minsizerel libraries? - or do you know a workaround so i could copy my release and debug libraries out of their respective debug/ and release/ folders with visual c++?

SET(CMAKE_DEBUG_POSTFIX _some_postfix)

will build the debug libraries with a different name.

-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to