From 0245a5d75b9ef19ca717681a802e8658b8755349 Mon Sep 17 00:00:00 2001 From: ifilot Date: Wed, 17 Apr 2024 08:33:20 +0200 Subject: [PATCH] Fixing bug in CMakeLists.txt --- src/test/CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 4adae89..f4d3c86 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -21,14 +21,14 @@ add_library(unittest STATIC unittest.cpp) # set executables -SET(EXECUTABLES TestIsosurface TestScalarField TestD2OFileFormat TestGenerator) +SET(EXECUTABLES TestIsosurface TestScalarField TestD2OFileFormat) # only add this test when not using GCOV if(NOT USE_GCOV) list(APPEND EXECUTABLES TestGenerator) endif() -# only add this test when not using GCOV +# only add this test when using GCOV if(USE_GCOV) list(APPEND EXECUTABLES TestFileCreation) endif() @@ -39,14 +39,13 @@ endif() add_executable(TestIsosurface test_isosurface.cpp) add_executable(TestScalarField test_scalarfield.cpp) add_executable(TestD2OFileFormat test_d2o_fileformat.cpp) -add_executable(TestGenerator test_generator.cpp) # only add this test when not using GCOV if(NOT USE_GCOV) add_executable(TestGenerator test_generator.cpp) endif() -# only add this test when not using OpenVDB +# only add this test when using GCOV if(USE_GCOV) add_executable(TestFileCreation test_file_creation.cpp) endif()