From b8d1adf1c82fd2c4048356368108edbff6497808 Mon Sep 17 00:00:00 2001 From: Vegard Sjonfjell Date: Thu, 16 Jun 2016 15:12:20 +0200 Subject: Make VALGRIND_UNIT_TESTS a cached variable :) --- build_settings.cmake | 3 +++ 1 file changed, 3 insertions(+) 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") -- cgit v1.2.3