[Cmake] @@ replacement in configure_file

Andy Cedilnik andy.cedilnik at kitware.com
Mon May 5 11:46:41 EDT 2003


Hi Stefan,

That seems to be a bug in parsing. It can be however an ambiguous case.
For example:

FOO = @SOMETHING at FOOBAR@

If you want to fix that, you can always try to use ${} style variables.
I do not think doxygen needs ${} in the doxyfile, so you should be ok
there. Just make sure to remove @ONLY.

			Andy

On Mon, 2003-05-05 at 10:58, Stefan Schmidt wrote:
> 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?





More information about the CMake mailing list