Commit ff26be81 authored by Wolfgang Merkt's avatar Wolfgang Merkt
Browse files

Turn off automatic documentation generation

The documentation is generated automatically if Doxygen is installed,
which takes a considerable amount of time. Most users are likely to use
the online-hosted Doxygen by default and so setting the default for
INSTALL_DOCUMENTATION to false should be fine (as is done in EigenPy).
For distribution/binaries, we save ~36-77 MB of installed files.
parent ef9a221b
...@@ -16,6 +16,12 @@ SET(PROJECT_USE_KEYWORD_LINK_LIBRARIES TRUE) ...@@ -16,6 +16,12 @@ SET(PROJECT_USE_KEYWORD_LINK_LIBRARIES TRUE)
SET(CXX_DISABLE_WERROR True) SET(CXX_DISABLE_WERROR True)
SET(CMAKE_VERBOSE_MAKEFILE True) SET(CMAKE_VERBOSE_MAKEFILE True)
# ----------------------------------------------------
# --- OPTIONS ---------------------------------------
# Need to be set before including base.cmake
# ----------------------------------------------------
OPTION(INSTALL_DOCUMENTATION "Generate and install the documentation" OFF)
# Check if the submodule cmake have been initialized # Check if the submodule cmake have been initialized
IF(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/cmake/base.cmake") IF(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/cmake/base.cmake")
MESSAGE(FATAL_ERROR "\nPlease run the following command first:\ngit submodule update --init\n") MESSAGE(FATAL_ERROR "\nPlease run the following command first:\ngit submodule update --init\n")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment