ENH: add more paths for the HP
[cmake.git] / Modules / Documentation.cmake
blobe63fae5be9ae30cc298246f36386ef02077f6c24
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)
14   #
15   # Check for the tools
16   #
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)
30   MARK_AS_ADVANCED(
31     DOCUMENTATION_HTML_HELP
32     DOCUMENTATION_HTML_TARZ
33   )
35   # 
36   # The documentation process is controled by a batch file.
37   # We will probably need bash to create the custom target
38   #
40 ENDIF (BUILD_DOCUMENTATION)