Brad King a écrit :
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)
Right, I was making a typo error: "Debug;Release". Thanks!
- 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
In fact, I meant duplicate copies for *release* versions :
relwithdebufinfo, minsizerel and release. That is, is there a
CMAKE_MINSIZE_POSTFIX, CMAKE_RELWITHDEBUG_POSTFIX or something like that?
--
Sylvain Prat
Email : [EMAIL PROTECTED]
Tel : +33 6 78 71 51 21
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake