CMakeLists.txt 577 B

1234567891011121314151617181920212223
  1. #
  2. # Build the documentation
  3. #
  4. INCLUDE (${CMAKE_ROOT}/Modules/Documentation.cmake OPTIONAL)
  5. IF (BUILD_DOCUMENTATION)
  6. #
  7. # Configure the script and the doxyfile, then add target
  8. #
  9. CONFIGURE_FILE(
  10. ${CMAKE_SOURCE_DIR}/Utilities/Doxygen/doxyfile.in
  11. ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doxyfile)
  12. CONFIGURE_FILE(
  13. ${CMAKE_SOURCE_DIR}/Utilities/Doxygen/doc_makeall.sh.in
  14. ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doc_makeall.sh)
  15. ADD_CUSTOM_TARGET(DoxygenDoc
  16. ${BASH}
  17. ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doc_makeall.sh)
  18. ENDIF (BUILD_DOCUMENTATION)