I am configuring my project by loading an initial cache like "cmake -C
initial_cache.cmake ...". I specify a linking folder in this file like
this:

SET(MY_LINK_DIR P:/my_package/x64/${CMAKE_CFG_INTDIR} CACHE PATH "doc")

but LINK_DIR is then seen e.g. with cmake-gui as P:/my_package/x64
only. Of course, it does not do what I want during building. HOWEVER,
if I enter the above value for LINK_DIR by hand in cmake-gui, it works
and does what I want.
Now my question: how can I do it from the initial cache file, avoiding
cmake-gui. Would there be some kind of verbatim or escape mode?
(\$\{...\} would not work)

Regards,
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

Reply via email to