Documentation.cmake 888 B

123456789101112131415161718192021222324252627282930313233
  1. # DocumentationVTK.cmake
  2. #
  3. # This file provides support for the VTK documentation framework.
  4. # It relies on several tools (Doxygen, Perl, etc).
  5. #
  6. # Build the documentation ?
  7. #
  8. OPTION(BUILD_DOCUMENTATION "Build the documentation (Doxygen)." OFF)
  9. IF (BUILD_DOCUMENTATION)
  10. #
  11. # Check for the tools
  12. #
  13. INCLUDE(${CMAKE_ROOT}/Modules/FindUnixCommands.cmake)
  14. INCLUDE(${CMAKE_ROOT}/Modules/FindDoxygen.cmake)
  15. INCLUDE(${CMAKE_ROOT}/Modules/FindHhc.cmake)
  16. INCLUDE(${CMAKE_ROOT}/Modules/FindPerl.cmake)
  17. INCLUDE(${CMAKE_ROOT}/Modules/FindWget.cmake)
  18. OPTION(DOCUMENTATION_HTML_HELP
  19. "Build the HTML Help file (CHM)." OFF)
  20. OPTION(DOCUMENTATION_HTML_TARZ
  21. "Build a compressed tar archive of the HTML doc." OFF)
  22. #
  23. # The documentation process is controled by a batch file.
  24. # We will probably need bash to create the custom target
  25. #
  26. ENDIF (BUILD_DOCUMENTATION)