Re: [CMake] problems with CMAKE_CFG_INTDIR in initial cache

2011-04-05 Thread Dominik Szczerba
On Tue, Apr 5, 2011 at 6:54 AM, Micha Renner micha.ren...@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


Re: [CMake] problems with CMAKE_CFG_INTDIR in initial cache

2011-04-05 Thread David Cole
On Tuesday, April 5, 2011, Dominik Szczerba domi...@itis.ethz.ch wrote:
 On Tue, Apr 5, 2011 at 6:54 AM, Micha Renner micha.ren...@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 \$ ?
___
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


Re: [CMake] problems with CMAKE_CFG_INTDIR in initial cache

2011-04-05 Thread Dominik Szczerba
On Tue, Apr 5, 2011 at 1:00 PM, David Cole david.c...@kitware.com wrote:

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

Ah, yes, it does. I was simply prefixing also the brackets \$\{...\}
to get an error.
Many thanks!

Dominik
___
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


Re: [CMake] problems with CMAKE_CFG_INTDIR in initial cache

2011-04-04 Thread Micha Renner
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).

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