Initial commit.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / Doxygen / CMakeLists.txt
blobf8c5267e300c8d02103d9a2292e62c10b516438d
2 # Build the documentation
4 INCLUDE (${CMAKE_ROOT}/Modules/Documentation.cmake OPTIONAL)
6 IF (BUILD_DOCUMENTATION)
8   INCLUDE (${CMAKE_ROOT}/Modules/FindVTK.cmake)
10   #
11   # Configure the script and the doxyfile, then add target
12   #
13   IF(NOT DOT_PATH)
14     GET_FILENAME_COMPONENT(DOT_PATH ${DOT} PATH)
15   ENDIF(NOT DOT_PATH)
17   CONFIGURE_FILE(
18     ${CMAKE_SOURCE_DIR}/Utilities/Doxygen/doxyfile.in
19     ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doxyfile)
21   CONFIGURE_FILE(
22     ${CMAKE_SOURCE_DIR}/Utilities/Doxygen/doc_makeall.sh.in
23     ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doc_makeall.sh)
25   ADD_CUSTOM_TARGET(DoxygenDoc
26     ${BASH}
27     ${CMAKE_BINARY_DIR}/Utilities/Doxygen/doc_makeall.sh)
29 ENDIF (BUILD_DOCUMENTATION)