]> Creatis software - clitk.git/blob - Doxygen/CMakeLists.txt
Add code to write dicom sequence tag in gateSimulation2Dicom
[clitk.git] / Doxygen / CMakeLists.txt
1 #
2 # Build the documentation
3 #
4 include(${CMAKE_ROOT}/Modules/Documentation.cmake)
5
6 if(BUILD_DOXYGEN)
7
8   #
9   # Configure the script and the doxyfile, then add target
10   #
11   configure_file(${CLITK_SOURCE_DIR}/Doxygen/doxygen.config.in
12                  ${PROJECT_BINARY_DIR}/Doxygen/doxygen.config)
13
14                configure_file(${CLITK_SOURCE_DIR}/Doxygen/itkdoxygen.pl.in
15                  ${PROJECT_BINARY_DIR}/Doxygen/itkdoxygen.pl)
16
17   add_custom_target(Documentation
18     COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_BINARY_DIR}/Doxygen/doxygen.config
19     MAIN_DEPENDENCY ${PROJECT_BINARY_DIR}/Doxygen/doxygen.config
20     DEPENDS         ${PROJECT_BINARY_DIR}/Doxygen/itkdoxygen.pl
21     WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/Doxygen
22     )
23
24 endif(BUILD_DOXYGEN)