[CMake] syntax error, unexpected cal_SYMBOL, expecting $end......

Benjamin Roy Benjamin.Roy at irisa.fr
Tue Oct 31 11:34:05 EST 2006


Hi everyone,

I've got this error on my CMake build when i try to write a config file 
in order to generate some doc with doxygen:

 Syntax error in cmake code at
/udd/broy/workspace/MPTKtrunk/CMake/GenerateDoc.cmake:52:
syntax error, unexpected cal_SYMBOL, expecting $end (1476), when parsing 
string "# If you set the HAVE_DOT tag to YES then doxygen will assume 
the dot tool is
# available from the path. This tool is part of Graphviz, a graph 
visualization
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
# have no effect if this option is set to NO (the default)

HAVE_DOT               = YES

# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect inheritance relations. Setting this tag to YES will force the
# the CLASS_DIAGRAMS tag to NO.

CLASS_GRAPH            = YES


# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found in the path.

DOT_PATH               = ${DOT_PATH}

# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be 
used.

OUTPUT_DIRECTORY       = ${MPTK_SOURCE_DIR}/doc/refman

# The INPUT tag can be used to specify the files and/or directories that 
contain
# documented source files. You may enter file names like myfile.cpp or
# directories like /usr/src/myproject. Separate the files or directories
# with spaces.

INPUT                  = ${MPTK_SOURCE_DIR}/src/libdsp_windows \
                         ${MPTK_SOURCE_DIR}/src/libmptk \
                         ${MPTK_SOURCE_DIR}/src/libmptk/atom_classes \
                         ${MPTK_SOURCE_DIR}/src/utils \
                         ${MPTK_SOURCE_DIR}/src/tests

# The EXCLUDE tag can be used to specify files and/or directories that 
should
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the 
INPUT tag.
EXCLUDE                = ${MPTK_SOURCE_DIR}/src/libmptk/mptk.h"

The config file is correctly wrote and the doc is generated without any 
troubles, but i've got this error which is not really aesthetic for my 
end-users...

Do I miss something basic?

Is somebody has a clue on this strange parse error?

Thanks in advance.

Benjamin.




More information about the CMake mailing list