From 9f469f81b428b86f378880542d6f4e417c6cbc0d Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 9 Mar 2017 16:42:28 -0600 Subject: [PATCH] CMake: Add an option to compile examples as well --- cmake/setup_cached_variables.cmake | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cmake/setup_cached_variables.cmake b/cmake/setup_cached_variables.cmake index 6ff2fad6ed..276a219c80 100644 --- a/cmake/setup_cached_variables.cmake +++ b/cmake/setup_cached_variables.cmake @@ -49,6 +49,7 @@ # # DEAL_II_WITH_64BIT_INDICES # DEAL_II_DOXYGEN_USE_MATHJAX +# DEAL_II_COMPILE_EXAMPLES # DEAL_II_CPACK_BUNDLE_NAME # DEAL_II_CPACK_EXTERNAL_LIBS # @@ -345,6 +346,12 @@ OPTION(DEAL_II_DOXYGEN_USE_MATHJAX ) MARK_AS_ADVANCED(DEAL_II_DOXYGEN_USE_MATHJAX) +OPTION(DEAL_II_COMPILE_EXAMPLES + "If set to ON, all configurable example executables will be built and installed as well. If set to OFF, the examples component only installs the source code of example steps." + OFF + ) +MARK_AS_ADVANCED(DEAL_II_COMPILE_EXAMPLES) + OPTION(DEAL_II_DOXYGEN_USE_ONLINE_MATHJAX "If set to ON, doxygen documentation is generated using online (from CDN) mathjax copy" ON -- 2.39.5