Contradiction between ./cmake/Target.cmake (make doc command) and ./CMakeLists.txt (if condition).
Error when executing "make doc" command with DEO_ONLY=true flag :
Built target doc-eo
make[4]: *** No rule to make target `doc-edo'. Stop.
make[3]: *** [CMakeFiles/doc] Error 2
make[2]: *** [CMakeFiles/doc.dir/all] Error 2
make[1]: *** [CMakeFiles/doc.dir/rule] Error 2
make: *** [doc] Error 2
Now resolved.
Contradiction between ./cmake/Target.cmake (make doc command) and ./CMakeLists.txt (if condition).
Error when executing "make doc" command with -DEO_ONLY=false flag :
make[4]: *** No rule to make target `doc-edo'. Stop.
make[3]: *** [CMakeFiles/doc] Error 2
make[2]: *** [CMakeFiles/doc.dir/all] Error 2
make[1]: *** [CMakeFiles/doc.dir/rule] Error 2
make: *** [doc] Error 2
Now resolved.
Error and problems with smp documentation compilation ("make doc" or "make doc-smp" command with -DSMP=true flag).
Here the error :
error: Tag file `/home/aharrissart/workspace/thales/paradiseo/build/doc/smp.doxytag' does not exist or is not a file. Skipping it...
Some other problems with undocumented parameters...
Now resolved.
Comment unused EDO flag (declared in ../CMakeLists.txt file)
This commit is contained in:
parent
51a1af0924
commit
91bba00035
7 changed files with 36 additions and 27 deletions
|
|
@ -7,12 +7,15 @@ if(DOXYGEN_FOUND)
|
|||
set(SMP_DOC_DIR ${CMAKE_CURRENT_BINARY_DIR} CACHE INTERNAL "Documentation directory" FORCE)
|
||||
# Name of the doxygene configuration file
|
||||
set(SMP_DOC_CONFIG_FILE "smp.doxyfile" CACHE INTERNAL "Documentation configuration file")
|
||||
|
||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/index.h ${EO_DOC_DIR}/index.h COPYONLY)
|
||||
|
||||
if(DOXYGEN_EXECUTABLE)
|
||||
# Creating the custom target
|
||||
if(UNIX AND NOT ${CMAKE_VERBOSE_MAKEFILE})
|
||||
add_custom_target(doc-smp
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${SMP_DOC_CONFIG_FILE}
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${SMP_DOC_CONFIG_FILE} 2> /dev/null > /dev/null
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||
else(UNIX AND NOT ${CMAKE_VERBOSE_MAKEFILE})
|
||||
add_custom_target(doc-smp
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} ${SMP_DOC_CONFIG_FILE}
|
||||
|
|
@ -20,7 +23,7 @@ if(DOXYGEN_FOUND)
|
|||
endif(UNIX AND NOT ${CMAKE_VERBOSE_MAKEFILE})
|
||||
endif(DOXYGEN_EXECUTABLE)
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/${SMP_DOC_CONFIG_FILE}.cmake"
|
||||
"${SMP_DOC_DIR}/${SMP_DOC_CONFIG_FILE}")
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/${SMP_DOC_CONFIG_FILE}")
|
||||
install(
|
||||
DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
DESTINATION share${INSTALL_SUB_DIR}/smp COMPONENT doc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue