diff options
author | onqtam <vik.kirilov@gmail.com> | 2017-05-03 06:29:47 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2017-05-16 00:22:23 +0300 |
commit | aec53d2830eee32aca09748b430c8d79a6cccef1 (patch) | |
tree | 843839339639f58ecd76febc34a03e547ba7bb7d /examples | |
parent | c4efc482cde6cabfeb9194774a32f7b2faadbd63 (diff) |
enabled all builds again
Diffstat (limited to 'examples')
-rw-r--r-- | examples/all_features/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/all_features/CMakeLists.txt b/examples/all_features/CMakeLists.txt index 7c2be054..53cc0158 100644 --- a/examples/all_features/CMakeLists.txt +++ b/examples/all_features/CMakeLists.txt @@ -54,7 +54,9 @@ doctest_add_test(NAME order_3 ${common_args} -ob=rand -sfe=*) ## VARIATION OF THE BUILD WITH DOCTEST DISABLED - SHOULD STILL COMPILE ################################################################################ -return() # temp hack +if(DEFINED ENV{CODE_COVERAGE}) + return() # do not continue with the disabled example +endif() doctest_add_executable(disabled ${files}) target_compile_definitions(disabled PRIVATE DOCTEST_CONFIG_DISABLE) |