From 4daef0555000f41b8485a765ac85adfe216c9714 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 8 Oct 2023 14:21:40 -0400 Subject: [PATCH] build: + testing (even though no tests) for consistency --- CMakeLists.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea3f423..c7e3266 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,20 +7,20 @@ enable_language(CXX) # common XO cmake macros (see github:Rconybea/xo-cmake) include(xo_macros/xo_cxx) -#include(xo_macros/code-coverage) # very little to unit test here +include(xo_macros/code-coverage) # very little to unit test here # ---------------------------------------------------------------- # unit test setup -#enable_testing() +enable_testing() ## enable code coverage for all executables+libraries ## (when configured with -DCODE_COVERAGE=ON) ## -#add_code_coverage() -#add_code_coverage_all_targets( -# EXCLUDE -# /nix/store/* -# ${PROJECT_SOURCE_DIR}/utest/*) +add_code_coverage() +add_code_coverage_all_targets( + EXCLUDE + /nix/store/* + ${PROJECT_SOURCE_DIR}/utest/*) # ---------------------------------------------------------------- # bespoke (usually temporary) c++ settings