Documentation.cmake 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. # file Copyright.txt or https://cmake.org/licensing for details.
  3. #.rst:
  4. # Documentation
  5. # -------------
  6. #
  7. # DocumentationVTK.cmake
  8. #
  9. # This file provides support for the VTK documentation framework. It
  10. # relies on several tools (Doxygen, Perl, etc).
  11. #
  12. # Build the documentation ?
  13. #
  14. option(BUILD_DOCUMENTATION "Build the documentation (Doxygen)." OFF)
  15. mark_as_advanced(BUILD_DOCUMENTATION)
  16. if (BUILD_DOCUMENTATION)
  17. #
  18. # Check for the tools
  19. #
  20. find_package(UnixCommands)
  21. find_package(Doxygen)
  22. find_package(Gnuplot)
  23. find_package(HTMLHelp)
  24. find_package(Perl)
  25. find_package(Wget)
  26. option(DOCUMENTATION_HTML_HELP
  27. "Build the HTML Help file (CHM)." OFF)
  28. option(DOCUMENTATION_HTML_TARZ
  29. "Build a compressed tar archive of the HTML doc." OFF)
  30. mark_as_advanced(
  31. DOCUMENTATION_HTML_HELP
  32. DOCUMENTATION_HTML_TARZ
  33. )
  34. #
  35. # The documentation process is controlled by a batch file.
  36. # We will probably need bash to create the custom target
  37. #
  38. endif ()