diff options
Diffstat (limited to 'libs/kstd')
| -rw-r--r-- | libs/kstd/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt index 379ca7d0..d8d5ea2a 100644 --- a/libs/kstd/CMakeLists.txt +++ b/libs/kstd/CMakeLists.txt @@ -9,6 +9,12 @@ project("kstd" include("CTest") #[============================================================================[ +# Global Build System Options +#]============================================================================] + +option(KSTD_ENABLE_TEST_COVERAGE "Enable generation of test coverage" ON) + +#[============================================================================[ # Library #]============================================================================] @@ -74,7 +80,7 @@ if(BUILD_TESTING) teachos_add_tests("kstd") - if(COMMAND "enable_coverage" AND NOT TEACHOS_ENABLE_TEST_TSAN) + if(COMMAND "enable_coverage" AND KSTD_ENABLE_TEST_COVERAGE) enable_coverage("kstd") enable_coverage("kstd_tests") endif() |
