Re: [CMake] configuration specific ADD_CUSTOM_COMMAND (was: Target properties LOCATION and DEBUG_POSTFIX)

2008-03-11 Thread Martin Lutken
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

Re: [CMake] configuration specific ADD_CUSTOM_COMMAND (was: Target properties LOCATION and DEBUG_POSTFIX)

2008-03-11 Thread Zschocke, Florian
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