On 11/8/06, Xavier Larrode <[EMAIL PROTECTED]> wrote:
Hi all
How can i write special character like ${} with WRITE_FILE
ex : Libs: -L${libdir} -lcairo
and libdir is not a cmake variable...
WRITE_FILE(${PROJECT_SOURCE_DIR}/foo.txt "Libs: -L\${libdir} -lcairo")
Note the \ character before $ to tell CMake we want the character so
that it prevents the variable expansion.
--
Tristan Carel
Music with dinner is an insult both to the cook and the violinist.
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake