I think I found another CMake build problem. When I put the ascidoc
location in the CMake configuration, it then tries to build *two* doc
projects, when there is already a doc project in the solution. In the
root directory CMakeList.txt file, there is this segment starting at
line 183:
"""
IF (ASCIIDOC_FOUND)
MACRO (ASCIIDOC_FILE target infile outfile)
ADD_CUSTOM_TARGET(${target}
${ASCIIDOC_EXECUTABLE} -a toc -a numbered -o ${outfile} ${infile}
COMMENT "Asciidoc ${infile}")
ADD_CUSTOM_TARGET(doc)
ADD_DEPENDENCIES(doc ${target})
ENDMACRO (ASCIIDOC_FILE)
ENDIF (ASCIIDOC_FOUND)
IF (DOXYGEN_FOUND)
ADD_CUSTOM_TARGET(doxygen
${DOXYGEN_EXECUTABLE}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
COMMENT "Doxygen ...")
ADD_CUSTOM_TARGET(doc)
ADD_DEPENDENCIES(doc doxygen)
ADD_CUSTOM_TARGET(doxygen-examples
${DOXYGEN_EXECUTABLE}
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/examples
COMMENT "Doxygen for examples ...")
ADD_DEPENDENCIES(doc doxygen-examples)
ENDIF (DOXYGEN_FOUND)
"""
Both create a doc target, thus I end up with two and then my solution
decides to up and choke. Perhaps rename them both to something more
specific?
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest