pacman/pomodoro/test/CMakeLists.txt
2020-11-28 18:00:10 +01:00

10 lines
No EOL
280 B
CMake

enable_testing()
find_package(GTest REQUIRED)
include(GoogleTest)
add_executable(pomodoro_tests tests.cpp)
target_link_libraries(pomodoro_tests GTest::GTest libpomodoro)
gtest_discover_tests(pomodoro_tests TEST_PREFIX pomodoro:)
add_test(NAME monolithic COMMAND pomodoro_tests)