summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2018-12-29 20:04:38 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2018-12-29 20:35:10 +0100
commitde199c327e9b55bd615f7262724da8ecba1999cf (patch)
tree7584b3b0897ef686a23d255001f692450897c9f0 /CMake
parentbf9dfa2afdaa7a20d1152151519d3e34a1758a92 (diff)
Add a CMake option to generate driver (developer) documentation.
Generating driver documentation can now be configured with CMake. The new configuration OPTION_INCLUDE_DRIVER_DOCUMENTATION is "marked as advanced" since only advanced users and/or FLTK developers need this. Previously this could only be achieved by editing documentation/Doxyfile.in. Added missing documentation option descriptions as well.
Diffstat (limited to 'CMake')
-rw-r--r--CMake/options.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMake/options.cmake b/CMake/options.cmake
index bc3aa7e69..c747484bd 100644
--- a/CMake/options.cmake
+++ b/CMake/options.cmake
@@ -142,6 +142,10 @@ option(OPTION_FILESYSTEM_SUPPORT "allow file system support" ON)
if(DOXYGEN_FOUND)
option(OPTION_BUILD_HTML_DOCUMENTATION "build html docs" OFF)
option(OPTION_INSTALL_HTML_DOCUMENTATION "install html docs" OFF)
+
+ option(OPTION_INCLUDE_DRIVER_DOCUMENTATION "include driver (developer) docs" OFF)
+ mark_as_advanced(OPTION_INCLUDE_DRIVER_DOCUMENTATION)
+
if(LATEX_FOUND)
option(OPTION_BUILD_PDF_DOCUMENTATION "build pdf docs" OFF)
option(OPTION_INSTALL_PDF_DOCUMENTATION "install pdf docs" OFF)