Zschocke, Florian wrote:
From: Bill Hoffman [mailto:[EMAIL PROTECTED]
With the use of CMAKE_CFG_INTDIR, you should be able to get to the
targets you need inside custom commands with the multiconfiguration
build systems. Have you tried CVS CMake, I think that the LOCATION
of
the target includ
> From: Bill Hoffman [mailto:[EMAIL PROTECTED]
>
> With the use of CMAKE_CFG_INTDIR, you should be able to get to the
> targets you need inside custom commands with the multiconfiguration
> build systems. Have you tried CVS CMake, I think that the LOCATION
of
> the target includes CMAKE_CFG_INTD
Zschocke, Florian wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Lütken
The problem I suppose is that CMake is running before MSVC and thus have no way
of knowing which configuration you will choose unless you tell so when
generating the project.
With the use o
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Lütken
>
> The problem I suppose is that CMake is running before MSVC and thus have no
> way
> of knowing which configuration you will choose unless you tell so when
> generating the project.
Actually I consider this a bug, or
orian
Sendt: ti 11-03-2008 16:54
Til: cmake@cmake.org
Emne: Re: [CMake] configuration specific ADD_CUSTOM_COMMAND
> Yes just use something like:
>
> IF ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" )
>
> ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" )
For generation M
> Yes just use something like:
>
> IF ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" )
>
> ENDIF ( ${CMAKE_BUILD_TYPE} STREQUAL "Debug" )
For generation Makefiles this could work. But what about MSVS project
files? My understanding was that this wouldn't work since the
CMAKE_BUILD_TYPE will not be used
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