OK perfect
Tristan Carel a écrit :
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.


begin:vcard
fn;quoted-printable:Xavier Larrod=C3=A9
n;quoted-printable:Larrod=C3=A9;Xavier
org:IRISA ;E119 Orange
title:Projet GVT
tel;work:73 28
version:2.1
end:vcard

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to