pacman/test/CMakeLists.txt
2021-10-05 15:46:16 +02:00

11 lines
358 B
CMake

enable_testing()
find_package(Catch2 REQUIRED)
file(GLOB_RECURSE sources CONFIGURE_DEPENDS "*.cpp")
add_executable(pacman_tests ${sources})
target_link_libraries(pacman_tests Catch2::Catch2 libpacman)
# This setup the tests on CI. We disable the AI tests
# because you will have to implement them.
add_test(NAME pacman_tests COMMAND pacman_tests "~[AI]")