MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0004016 | CMake | CMake | public | 2006-11-02 11:40 | 2016-06-10 14:30 |
| Reporter | Benjamin.Roy | ||||
| Assigned To | Brad King | ||||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Summary | 0004016: Parsing error when generate a doxygen config file with CMake | ||||
| Description | Initialy using a FILES(... ...APPEND) command an get the following bug: 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... -------------------------------------------------- Fix it with the advise of Brad, using a CONFIG_FILES( ... ... @ONLY) command and some different input Doxygen config files replacing: DOT_PATH = ${DOT_PATH} With the syntax: DOT_PATH = @DOT_PATH@ Reporting this bug on the demand of Brad. Cause " However a separate problem is that CMake should have reported a better error in the first place." Thanks | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-08-13 10:37 | Brad King | Status | assigned => backlog | ||
| 2012-08-13 10:37 | Brad King | Note Added: 0030546 | |||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041328 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||