2007/8/24, Dizzy <[EMAIL PROTECTED]>: > On Friday 24 August 2007 13:04:15 Jack Kelly wrote: > > Dizzy wrote: > > > > You shouldn't have to do any escaping. Use > > > > CONFIGURE_FILE(${SOURCEFILE} ${DESTFILE} COPYONLY) > > Thanks for the hint. This should solve my existent problem but it's not a good > solution in general as one may have variables that he wishes to have > configure_file() replacing them and variables that he wishes not (ex. like in > a Makefile escaped with a $$).
If you use @ONLY @something@ var will be replaced whereas $SOMETHINGELSE will not. cmake --help-command CONFIGURE_FILE for others details like ESCAPE_QUOTE and #cmakedefine things. -- Erk _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake