summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2018-12-30 11:04:10 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2018-12-30 11:04:10 +0100
commit362f9350868286b066070df7da1f496df08ecd73 (patch)
treed4bf7e564018d835092fff0f311ebcec6740d02d /documentation
parent26bb0e5a831be64f21eec41efef73571aebadab5 (diff)
parentde199c327e9b55bd615f7262724da8ecba1999cf (diff)
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'documentation')
-rw-r--r--documentation/CMakeLists.txt10
-rw-r--r--documentation/Doxyfile.in3
2 files changed, 9 insertions, 4 deletions
diff --git a/documentation/CMakeLists.txt b/documentation/CMakeLists.txt
index 720af95d3..cec1f5104 100644
--- a/documentation/CMakeLists.txt
+++ b/documentation/CMakeLists.txt
@@ -18,6 +18,14 @@
set (DOCS)
+set (FL_VERSION "${FLTK_VERSION_FULL}")
+
+if (OPTION_INCLUDE_DRIVER_DOCUMENTATION)
+ set (DRIVER_DOCS "DriverDev")
+else ()
+ set (DRIVER_DOCS "")
+endif ()
+
#--------------------------
# build html documentation
#--------------------------
@@ -31,7 +39,6 @@ if(OPTION_BUILD_HTML_DOCUMENTATION)
set(GENERATE_HTML YES)
set(GENERATE_LATEX NO)
set(LATEX_HEADER "")
- set(FL_VERSION "${FLTK_VERSION_FULL}")
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
@@ -64,7 +71,6 @@ if (OPTION_BUILD_PDF_DOCUMENTATION)
set(GENERATE_HTML NO)
set(GENERATE_LATEX YES)
set(LATEX_HEADER "${CMAKE_CURRENT_BINARY_DIR}/fltk-book.tex")
- set(FL_VERSION "${FLTK_VERSION_FULL}")
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
diff --git a/documentation/Doxyfile.in b/documentation/Doxyfile.in
index d5a7a7681..58bc2b67f 100644
--- a/documentation/Doxyfile.in
+++ b/documentation/Doxyfile.in
@@ -437,8 +437,7 @@ GENERATE_DEPRECATEDLIST= YES
# The ENABLED_SECTIONS tag can be used to enable conditional
# documentation sections, marked by \if sectionname ... \endif.
-ENABLED_SECTIONS =
-# ENABLED_SECTIONS += DriverDev
+ENABLED_SECTIONS = @DRIVER_DOCS@
# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
# the initial value of a variable or define consists of for it to appear in