2022-04-19 16:27:52 +01:00
|
|
|
add_executable(mcl-tests
|
2022-04-23 18:37:57 +01:00
|
|
|
bit/bit_field_tests.cpp
|
2022-07-10 10:10:04 +01:00
|
|
|
container/hmap.cpp
|
|
|
|
container/ihmap.cpp
|
2022-04-19 16:27:52 +01: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 10:10:04 +01:00
|
|
|
target_link_libraries(mcl-tests PRIVATE Catch2::Catch2WithMain mcl)
|
2022-04-19 16:27:52 +01:00
|
|
|
|
|
|
|
include(CTest)
|
|
|
|
include(Catch)
|
|
|
|
catch_discover_tests(mcl-tests)
|
|
|
|
enable_testing()
|