yadro-task/tests/CMakeLists.txt
erius 8f18f9ef8f Made source files explicitly specified instead of globbing in cmake files
Moved ftsort sources to bin/ftsort
Moved tape_config.h into bin/ftsort
Implemented command line parsing for ftsort in tape_config.cpp
ftsort binary is in working state
2024-10-27 16:17:16 +03:00

13 lines
492 B
CMake

find_package(Catch2 3 REQUIRED)
add_executable(filetape_tests filetape_tests.cpp)
target_link_libraries(filetape_tests PRIVATE tapelib)
target_link_libraries(filetape_tests PRIVATE Catch2::Catch2WithMain)
add_test(filetape_tests filetape_tests)
add_executable(filetape_sort_tests filetape_sort_tests.cpp)
target_link_libraries(filetape_sort_tests PRIVATE tapelib)
target_link_libraries(filetape_sort_tests PRIVATE Catch2::Catch2WithMain)
add_test(filetape_sort_tests filetape_sort_tests)