aboutsummaryrefslogtreecommitdiffstats
path: root/build_settings.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'build_settings.cmake')
-rw-r--r--build_settings.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_settings.cmake b/build_settings.cmake
index 7898ccf00fc..59f73dc3e70 100644
--- a/build_settings.cmake
+++ b/build_settings.cmake
@@ -3,6 +3,9 @@
if (CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
set(OS_IS_MACOSX true)
endif()
+# Build options
+# Whether to build unit tests as part of the 'all' target
+set(EXCLUDE_TESTS_FROM_ALL FALSE CACHE BOOL "If TRUE, do not build tests as part of the 'all' target")
# Warnings
set(WARN_OPTS "-Wuninitialized -Werror -Wall -W -Wchar-subscripts -Wcomment -Wformat -Wparentheses -Wreturn-type -Wswitch -Wtrigraphs -Wunused -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings")