ENH: fix bug where sharedforward would not work if there was a space in the path...
[cmake.git] / Modules / Documentation.cmake
blob73998be8aadea6e8155e032c002c50678964292b
1 # - DocumentationVTK.cmake
2 # This file provides support for the VTK documentation framework.
3 # It relies on several tools (Doxygen, Perl, etc).
6 # Build the documentation ?
8 OPTION(BUILD_DOCUMENTATION "Build the documentation (Doxygen)." OFF)
9 MARK_AS_ADVANCED(BUILD_DOCUMENTATION)
11 IF (BUILD_DOCUMENTATION)
13   #
14   # Check for the tools
15   #
16   FIND_PACKAGE(UnixCommands)
17   FIND_PACKAGE(Doxygen)
18   FIND_PACKAGE(Gnuplot)
19   FIND_PACKAGE(HTMLHelp)
20   FIND_PACKAGE(Perl)
21   FIND_PACKAGE(Wget)
23   OPTION(DOCUMENTATION_HTML_HELP 
24     "Build the HTML Help file (CHM)." OFF)
26   OPTION(DOCUMENTATION_HTML_TARZ 
27     "Build a compressed tar archive of the HTML doc." OFF)
29   MARK_AS_ADVANCED(
30     DOCUMENTATION_HTML_HELP
31     DOCUMENTATION_HTML_TARZ
32     )
34   # 
35   # The documentation process is controled by a batch file.
36   # We will probably need bash to create the custom target
37   #
39 ENDIF (BUILD_DOCUMENTATION)