[CMake] problems with CMAKE_CFG_INTDIR in initial cache

David Cole david.cole at kitware.com
Tue Apr 5 07:00:05 EDT 2011


On Tuesday, April 5, 2011, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
> On Tue, Apr 5, 2011 at 6:54 AM, Micha Renner <Micha.Renner at t-online.de> wrote:
>> Am Montag, den 04.04.2011, 21:22 +0200 schrieb Dominik Szczerba:
>>> CMAKE_CFG_INTDIR
>>
>> This value is evaluated by the native build system -> this variable is
>> suitable only for use in command lines that will be evaluated at build
>> time (after the cmake run).
>
> Why does it work through the GUI then?
> BTW. I do not want it to expand to the actual configuration, I want it
> to expand to verbatim ${Configuration} string.
>
> Dominik
>
>
>>
>> Please see:
>> www.cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_CFG_INTDIR
>>
>> Micha
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.cmake.org/mailman/listinfo/cmake
>>
>>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>

Doesn't this work like you want it to if you simply escape the $ with \$ ?


More information about the CMake mailing list