2022-04-19 17:27:52 +02:00
|
|
|
add_executable(mcl-tests
|
2022-04-19 19:04:33 +02:00
|
|
|
bit/bit_field_tests.cpp
|
2022-07-10 11:10:22 +02:00
|
|
|
container/hmap.cpp
|
|
|
|
container/ihmap.cpp
|
2022-04-19 17:27:52 +02:00
|
|
|
mp/metavalue_tests.cpp
|
|
|
|
mp/typelist_tests.cpp
|
|
|
|
type_traits/type_traits_tests.cpp
|
|
|
|
)
|
|
|
|
target_include_directories(mcl-tests PUBLIC .)
|
|
|
|
target_compile_options(mcl-tests PRIVATE ${STAMINA_CXX_FLAGS})
|
2022-07-10 11:10:22 +02:00
|
|
|
target_link_libraries(mcl-tests PRIVATE Catch2::Catch2WithMain mcl)
|
2022-04-19 17:27:52 +02:00
|
|
|
|
|
|
|
include(CTest)
|
|
|
|
include(Catch)
|
|
|
|
catch_discover_tests(mcl-tests)
|
|
|
|
enable_testing()
|