diff options
author | Vegard Sjonfjell <vegard@yahoo-inc.com> | 2016-06-16 15:12:20 +0200 |
---|---|---|
committer | Vegard Sjonfjell <vegard@yahoo-inc.com> | 2016-06-16 15:12:20 +0200 |
commit | b8d1adf1c82fd2c4048356368108edbff6497808 (patch) | |
tree | b9caa6204acd4d506eecf59d58f0ea90e26d0f3a | |
parent | efb4b8a022712e3f572346c256bab99c6bbb5941 (diff) |
Make VALGRIND_UNIT_TESTS a cached variable :)
-rw-r--r-- | build_settings.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_settings.cmake b/build_settings.cmake index c8c3ceb8b16..4bd78211c28 100644 --- a/build_settings.cmake +++ b/build_settings.cmake @@ -7,6 +7,9 @@ include(vtag.cmake) # 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") +# Whether to run unit tests via valgrind +set(VALGRIND_UNIT_TESTS FALSE CACHE BOOL "If TRUE, run unit tests via valgrind") + # 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") |