[CMake] CPack output name using VS IDE

Totte Karlsson totte at dunescientific.com
Tue Jan 10 19:20:32 EST 2012


>>>     cmake --help-variable CMAKE_CFG_INTDIR
>>
>> When executing the PACKAGE target from the IDE, that variable is
>> evaluated to
>> $(Configuration)
>
> Not quite. CMake evaluates it to $(Configuration) (or what ever the
> particular IDE uses), which then gets expanded by the IDE to the current
> configuration, i.e. Debug, Release, etc.

In the PACKAGE target it does not seem to get expanded. Any idea how to 'force' 
such thing.

-tk


More information about the CMake mailing list