Sorry for another newbie question.
Say, to setup a variable as follow so ${build-dir} doesn't get expanded
set(foo \${build-dir}/foo.c)
How would a expand foo so ${build-dir} gets expanded?
The following don't seem to do it.
message(${foo})
message(${${foo}})
_______________________________________________
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