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 FIND_PACKAGE(UnixCommands)
20 FIND_PACKAGE(HTMLHelp)
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)