From ba7ee931c4c13a58c7762fb4c481be1a7f3a016b Mon Sep 17 00:00:00 2001 From: LTLA Date: Tue, 25 Jun 2024 10:50:51 -0700 Subject: [PATCH] Turned on the compiler warnings. --- tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 473cc80..3be482e 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -40,6 +40,8 @@ macro(create_test name) scran_test_utils ) + target_compile_options(${name} PRIVATE -Wall -Werror -Wpedantic -Wextra) + if(DO_CODE_COVERAGE) target_compile_options(${name} PRIVATE -O0 -g --coverage) target_link_options(${name} PRIVATE --coverage)