Re: [CMake] Deep variable expansion (or, replacing literal ${FOO})

2013-04-02 Thread Petr Kmoch
Hi Braden, the purpose of CMAKE_CFG_INTDIR is to expand to something that is meaningful to the build system you're using. It's a way to transport information from CMake-time (when your CMakeLists are processed) to build-time (when you run a build). The exact value of CMAKE_CFG_INTDIR depends on

[CMake] Deep variable expansion (or, replacing literal ${FOO})

2013-03-29 Thread Braden McDaniel
The value of the variable CMAKE_CFG_INTDIR is the literal string ${config} (that is, CMake does not expand this variable itself). I'd like to expand this literal variable within CMake using a value I supply; that is, I'd like to replace the literal string ${config} with something else; say, foo.