Skip to content
Snippets Groups Projects
Commit 863006a2 authored by Markus Blatt's avatar Markus Blatt
Browse files

[Merge][CMake] Merged revisions : 6964

Revision  r6964
.----------------------
Use file(INSTALL) to install doxygen documentation.
The previous approach failed if there were to many files for the shell.

.----------------------


[[Imported from SVN: r7305]]
parents c395215f d4fd1477
Branches
Tags
No related merge requests found
......@@ -74,10 +74,11 @@ MACRO (add_doxygen_target)
# When installing call cmake install with the above install target
install(CODE
"execute_process(COMMAND \"${CMAKE_COMMAND}\" --build \"${CMAKE_BINARY_DIR}\" --target doxygen_install_${DUNE_MOD_NAME} )
"include(GNUInstallDirs)
foreach(_file ${doxygenfiles})
get_filename_component(_basename \${_file} NAME)
LIST(APPEND CMAKE_INSTALL_MANIFEST_FILES \${CMAKE_INSTALL_PREFIX}/share/doc/${DUNE_MOD_NAME}/doxygen/\${_basename})
endforeach(_file in \${doxygenfiles})")
LIST(APPEND CMAKE_INSTALL_MANIFEST_FILES \${CMAKE_INSTALL_DOCDIR}/doxygen/\${_basename})
endforeach(_file in \${doxygenfiles})
file(INSTALL ${doxygenfiles} DESTINATION \${CMAKE_INSTALL_DOCDIR}/doxygen)")
endif(DOXYGEN_FOUND)
ENDMACRO (add_doxygen_target)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment