summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Options.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/Options.cmake b/cmake/Options.cmake
index 005bb19ca..977d54f06 100644
--- a/cmake/Options.cmake
+++ b/cmake/Options.cmake
@@ -57,6 +57,12 @@ function(set_options)
option(OPTION_USE_ASSERTS "Use assertions; leave enabled for nightlies, betas, and RCs" ON)
option(OPTION_USE_THREADS "Use threads" ON)
option(OPTION_USE_NSIS "Use NSIS to create windows installer; enable only for stable releases" OFF)
+ option(OPTION_TOOLS_ONLY "Build only tools target" OFF)
+ option(OPTION_DOCS_ONLY "Build only docs target" OFF)
+
+ if (OPTION_DOCS_ONLY)
+ set(OPTION_TOOLS_ONLY ON PARENT_SCOPE)
+ endif()
endfunction()
# Show the values of the generic options.