Skip to content
Snippets Groups Projects
Commit e0d08576 authored by Ben Couturier's avatar Ben Couturier Committed by MarkusFrankATcernch
Browse files

Added option to avoid building documentation

parent 3b2c5f81
No related branches found
No related tags found
No related merge requests found
...@@ -28,10 +28,13 @@ ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) ...@@ -28,10 +28,13 @@ ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
############################################### ###############################################
OPTION(BUILD_DOCS_ONLY "Build documentation only" OFF) OPTION(BUILD_DOCS_ONLY "Build documentation only" OFF)
OPTION(BUILD_DOCS "Build documentation" ON)
# Add targets for Doxygen code reference and LaTeX User manual # Add targets for Doxygen code reference and LaTeX User manual
if (BUILD_DOCS)
ADD_SUBDIRECTORY(doc) ADD_SUBDIRECTORY(doc)
ENDIF()
# If only building docs, stop processing the rest of the CMake file: # If only building docs, stop processing the rest of the CMake file:
IF(BUILD_DOCS_ONLY) IF(BUILD_DOCS_ONLY)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment