Thomas Psota | ab77907 | 2019-09-04 15:49:39 +0200 | [diff] [blame] | 1 | ############################################### |
| 2 | ### Tests ### |
| 3 | ############################################### |
| 4 | |
| 5 | cmake_minimum_required(VERSION 2.8.4) |
Tobias Klausmann | 9846025 | 2020-01-22 11:46:45 +0100 | [diff] [blame] | 6 | |
| 7 | # Allow versioning the subproject |
| 8 | if(POLICY CMP0048) |
| 9 | cmake_policy(SET CMP0048 NEW) |
| 10 | endif(POLICY CMP0048) |
| 11 | |
| 12 | project(tests |
| 13 | VERSION ${BASYX_PACKAGE_VERSION_MAJOR}.${BASYX_PACKAGE_VERSION_MINOR}.${BASYX_PACKAGE_VERSION_PATCH} |
| 14 | ) |
Thomas Psota | ab77907 | 2019-09-04 15:49:39 +0200 | [diff] [blame] | 15 | |
Thomas Psota | fe76c05 | 2019-09-05 16:53:32 +0200 | [diff] [blame] | 16 | ### tests::main ### |
Thomas Psota | ab77907 | 2019-09-04 15:49:39 +0200 | [diff] [blame] | 17 | |
Thomas Psota | b2e5cfe | 2019-09-16 16:48:57 +0200 | [diff] [blame] | 18 | add_library(tests_main support/main.cpp) |
| 19 | target_link_libraries(tests_main gtest) |
| 20 | add_library(tests::main ALIAS tests_main) |
| 21 | diagnostics_print(tests_main) |
Thomas Psota | ab77907 | 2019-09-04 15:49:39 +0200 | [diff] [blame] | 22 | |
Thomas Psota | fe76c05 | 2019-09-05 16:53:32 +0200 | [diff] [blame] | 23 | ### UnitTests ### |
Thomas Psota | ab77907 | 2019-09-04 15:49:39 +0200 | [diff] [blame] | 24 | |
Thomas Psota | 17c2db4 | 2019-12-04 23:15:14 +0100 | [diff] [blame] | 25 | #add_subdirectory(regression/aas) |
Thomas Psota | ab77907 | 2019-09-04 15:49:39 +0200 | [diff] [blame] | 26 | add_subdirectory(regression/util) |
| 27 | add_subdirectory(regression/vab) |
Thomas Psota | bfdeedc | 2020-02-27 17:26:16 +0100 | [diff] [blame] | 28 | add_subdirectory(regression/aas) |
| 29 | add_subdirectory(regression/submodel) |
Thomas Psota | ab77907 | 2019-09-04 15:49:39 +0200 | [diff] [blame] | 30 | |
Thomas Psota | fe76c05 | 2019-09-05 16:53:32 +0200 | [diff] [blame] | 31 | ### Support ### |
| 32 | |
| 33 | add_subdirectory(support) |
| 34 | |