1 # DocumentationVTK.cmake
3 # This file provides support for the VTK documentation framework.
4 # It relies on several tools (Doxygen, Perl, etc).
7 # Build the documentation ?
9 OPTION(BUILD_DOCUMENTATION "Build the documentation (Doxygen)." OFF)
10 MARK_AS_ADVANCED(BUILD_DOCUMENTATION)
12 IF (BUILD_DOCUMENTATION)
17 INCLUDE(${CMAKE_ROOT}/Modules/FindUnixCommands.cmake)
18 INCLUDE(${CMAKE_ROOT}/Modules/FindDoxygen.cmake)
19 INCLUDE(${CMAKE_ROOT}/Modules/FindGnuplot.cmake)
20 INCLUDE(${CMAKE_ROOT}/Modules/FindHhc.cmake)
21 INCLUDE(${CMAKE_ROOT}/Modules/FindPerl.cmake)
22 INCLUDE(${CMAKE_ROOT}/Modules/FindWget.cmake)
24 OPTION(DOCUMENTATION_HTML_HELP
25 "Build the HTML Help file (CHM)." OFF)
27 OPTION(DOCUMENTATION_HTML_TARZ
28 "Build a compressed tar archive of the HTML doc." OFF)
31 DOCUMENTATION_HTML_HELP
32 DOCUMENTATION_HTML_TARZ
36 # The documentation process is controled by a batch file.
37 # We will probably need bash to create the custom target
40 ENDIF (BUILD_DOCUMENTATION)