diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-05-30 12:06:10 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-05-30 12:06:10 +0200 |
| commit | 6fbfa8eead3dca8edd427bbf4abf496cc3366d14 (patch) | |
| tree | 63e040eaba7b95f4593c7acfef01733cdcdb78ea /test/CMakeLists.txt | |
| parent | a3c592894d01095776ed96593edb0550ec1a68fe (diff) | |
| download | PROJ-6fbfa8eead3dca8edd427bbf4abf496cc3366d14.tar.gz PROJ-6fbfa8eead3dca8edd427bbf4abf496cc3366d14.zip | |
Move catch.hpp header in test/; rename test/cpp as test/unit
Diffstat (limited to 'test/CMakeLists.txt')
| -rw-r--r-- | test/CMakeLists.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6f98e747..cf71df41 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -43,4 +43,13 @@ proj_add_gie_test("GIGS-5201" "gigs/5201.gie") #proj_add_gie_test("GIGS-5207.2" "gigs/5207.2.gie") proj_add_gie_test("GIGS-5208" "gigs/5208.gie") -add_subdirectory(cpp) +SET(CATCH2_INCLUDE catch.hpp) + +SET(TEST_MAIN_SRC test_main.cpp) +set(TEST_MAIN_LIBRARIES test_main) +add_library( ${TEST_MAIN_LIBRARIES} + ${PROJ_LIBRARY_TYPE} + ${TEST_MAIN_SRC} + ${CATCH2_INCLUDE} ) + +add_subdirectory(unit) |
