[CMake] debug, optimized, and custom
Hendrik Sattler
post at hendrik-sattler.de
Wed Feb 25 01:38:30 EST 2009
Am Mittwoch 25 Februar 2009 05:26:57 schrieb Jesse Perla:
> If I add on my own value to CMAKE_CONFIGURATION_TYPES so that I can have
> a separate build type in visual studio, etc. with compile time choice of
> build types, then how do I change the target_link_libraries to for this new
> build type?
>
>
> One last comment on my last post. If I did:
> target_link_libraries(hello2
> debug ${ETK_DEBUG_LIBRARIES} scl-d.lib
> optimized ${ETK_RELEASE_LIBRARIES} scl.lib
> )
debug and optimized keywords are followed by _one_ library. The help entry
defines this correctly.
HS
More information about the CMake
mailing list