diff options
| -rw-r--r-- | conanfile.py | 1 | ||||
| -rw-r--r-- | source/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | source/tests/CMakeLists.txt | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/conanfile.py b/conanfile.py index 956c5bf..ea6ba33 100644 --- a/conanfile.py +++ b/conanfile.py @@ -42,6 +42,7 @@ class Wanda(ConanFile): cmake = CMake(self) cmake.configure() cmake.build() + cmake.test(env="CTEST_OUTPUT_ON_FAILURE=1") def configure(self): self.options["boost"].header_only = True diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 38a8208..300953d 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -5,6 +5,8 @@ project("wanda" VERSION "1.0.0" ) +enable_testing() + add_subdirectory("app") add_subdirectory("lib") add_subdirectory("tests")
\ No newline at end of file diff --git a/source/tests/CMakeLists.txt b/source/tests/CMakeLists.txt index 57961c1..110c864 100644 --- a/source/tests/CMakeLists.txt +++ b/source/tests/CMakeLists.txt @@ -1,6 +1,5 @@ find_package("Catch2") include("Catch") -enable_testing() add_subdirectory("lib/system")
\ No newline at end of file |
