From da64d455d9ba4b64cc25b2a1cb627418534ef178 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 13 Jan 2019 22:28:26 +0100 Subject: [PATCH] Let CMake generate code for test application --- CMakeLists.txt | 4 ++-- tests/cppunit.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 tests/cppunit.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 90c7ed5..46bcc51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,7 +153,6 @@ set(TEST_HEADER_FILES tests/overall.h ) set(TEST_SRC_FILES - tests/cppunit.cpp tests/helper.cpp tests/mediafileinfo.cpp tests/overallflac.cpp @@ -185,9 +184,10 @@ set(META_VERSION_PATCH 0) set(META_PUBLIC_SHARED_LIB_DEPENDS c++utilities) set(META_PUBLIC_STATIC_LIB_DEPENDS c++utilities_static) set(META_REQUIRED_CPP_UNIT_VERSION 1.14.0) +set(META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION ON) # find c++utilities -find_package(c++utilities 4.9.0 REQUIRED) +find_package(c++utilities 4.17.0 REQUIRED) use_cpp_utilities() # find 3rd party libraries diff --git a/tests/cppunit.cpp b/tests/cppunit.cpp deleted file mode 100644 index 67aaee6..0000000 --- a/tests/cppunit.cpp +++ /dev/null @@ -1 +0,0 @@ -#include