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". Alas, I
have not been able to get this to work:
string(REPLACE "\${config}" foo MY_OUTPUT_VAR ${CMAKE_CFG_INTDIR})
Why isn't this working? Is there some other way to accomplish what I want?
Braden
--
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