pacman/test/CMakeLists.txt

12 lines
350 B
CMake
Raw Normal View History

2020-11-27 16:48:38 +00:00
enable_testing()
2021-09-11 08:09:59 +00:00
find_package(Catch2 REQUIRED)
2020-11-27 16:48:38 +00:00
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
add_executable(pacman_tests ${sources})
2021-09-11 08:09:59 +00:00
target_link_libraries(pacman_tests Catch2::Catch2 libpacman)
2021-10-05 13:46:06 +00:00
# This setup the tests on CI. We disable the AI tests
# because you will have to implement them.
2021-10-19 07:47:02 +00:00
add_test(NAME pacman_tests COMMAND pacman_tests)