2 # Build the documentation
4 INCLUDE (${CMAKE_ROOT}/Modules/Documentation.cmake OPTIONAL)
6 IF (BUILD_DOCUMENTATION)
8 INCLUDE (${CMAKE_ROOT}/Modules/FindVTK.cmake)
11 # Configure the script and the doxyfile, then add target
14 GET_FILENAME_COMPONENT(DOT_PATH ${DOT} PATH)
18 ${CMAKE_SOURCE_DIR}/Utilities/Doxygen/doxyfile.in
19 ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doxyfile)
22 ${CMAKE_SOURCE_DIR}/Utilities/Doxygen/doc_makeall.sh.in
23 ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doc_makeall.sh)
25 ADD_CUSTOM_TARGET(DoxygenDoc
27 ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doc_makeall.sh)
29 ENDIF (BUILD_DOCUMENTATION)