2022-04-19 16:27:52 +01:00
|
|
|
add_executable(mcl-tests
|
2022-04-19 18:04:33 +01:00
|
|
|
bit/bit_field_tests.cpp
|
2022-04-19 16:27:52 +01:00
|
|
|
main.cpp
|
|
|
|
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})
|
|
|
|
target_link_libraries(mcl-tests PRIVATE Catch2::Catch2 mcl)
|
|
|
|
|
|
|
|
include(CTest)
|
|
|
|
include(Catch)
|
|
|
|
catch_discover_tests(mcl-tests)
|
|
|
|
enable_testing()
|