blob: 0df1355a8e48d777e12484a94d3567e03488b5c4 [file] [log] [blame]
###############################################
### Tests ###
###############################################
cmake_minimum_required(VERSION 2.8.4)
# Allow versioning the subproject
if(POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
endif(POLICY CMP0048)
project(tests
VERSION ${BASYX_PACKAGE_VERSION_MAJOR}.${BASYX_PACKAGE_VERSION_MINOR}.${BASYX_PACKAGE_VERSION_PATCH}
)
### tests::main ###
add_library(tests_main support/main.cpp)
target_link_libraries(tests_main gtest)
add_library(tests::main ALIAS tests_main)
diagnostics_print(tests_main)
### UnitTests ###
#add_subdirectory(regression/aas)
add_subdirectory(regression/util)
add_subdirectory(regression/vab)
add_subdirectory(regression/aas)
add_subdirectory(regression/submodel)
### Support ###
add_subdirectory(support)