dynarmic/externals/mcl/tests/CMakeLists.txt

17 lines
451 B
CMake
Raw Permalink Normal View History

add_executable(mcl-tests
bit/bit_field_tests.cpp
container/hmap.cpp
container/ihmap.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::Catch2WithMain mcl)
include(CTest)
include(Catch)
catch_discover_tests(mcl-tests)
enable_testing()