[Cmake] @@ replacement in configure_file

Stefan Schmidt Stefan.Schmidt at sophia.inria.fr
Mon May 5 10:58:25 EDT 2003


I've something like this in an .in file:

@INCLUDE = @DOXYGEN_INCLUDES@
INCLUDE = @DOXYGEN_INCLUDES@

that gets configured by a sequence like this:

SET(DOXYGEN_INCLUDES "${PROJECT_BINARY_DIR}/DoxyTagFiles.inc")
CONFIGURE_FILE (${COMMONCONFIG_DIR}/doxygen.config.in
	  ${CMAKE_CURRENT_BINARY_DIR}/doxygen.config @ONLY)

this is the outcome:
@INCLUDE =
INCLUDE = /u/huangdi/0/sschmidt/mips/build/DoxyTagFiles.inc

Appearantly, lines with more than one @ aren't handled the way I want. I need 
an @ sign in front of the INCLUDE in the resulting file. What can I do about 
this?

Thanks,
Stefan



More information about the CMake mailing list