From: Matthias Maier Date: Thu, 9 Mar 2017 22:42:28 +0000 (-0600) Subject: CMake: Add an option to compile examples as well X-Git-Tag: v8.5.0-rc1~41^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f469f81b428b86f378880542d6f4e417c6cbc0d;p=dealii.git CMake: Add an option to compile examples as well --- 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