Yes just use something like:
IF ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" )
IF ( ${CMAKE_BUILD_TYPE} STREQUAL "Release" )
ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL "Release" )
-Martin Lutken
On Tuesday 11 March 2008 10:16:32 Zschocke, Florian wrote:
> H
Hi!
I'm trying this again from a different angle:
Is it possible to add a custom command only for a specific
configuration, i.e. build type? So I could add a certain command only
for DEBUG and a different one for RELEASE?
Thanks,
Florian Zschocke
> -Original Message-
> From: [EMAIL PR