Hello list
I've got some test scripts which are called with test names and such like and I
am using cmake expansion of vars to get from this
"$<TARGET_FILE:${framework}_server>"
to
"$<TARGET_FILE:hg_test_server>"
which is correct. But unfortunately, when I use
file(WRITE "stuff containing above string")
the file is written with "$<TARGET_FILE:hg_test_server>" inside it, and not
the full path/name of the target as I'd hoped.
Is there a way to force the evaluation of the generator expression so it is
correctly written out into the launch script?
thanks
JB
--
John Biddiscombe, email:biddisco @.at.@ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07
Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake