yadro-task/tests/CMakeLists.txt
erius 0e49b35f12 Added delimeter and settings constants to FileTape
Removed unneccesary copy and move constructors
Added constructor for tmp FileTape
Added Catch2 for unit testing
Added example unit tests
2024-10-24 17:48:55 +03:00

7 lines
275 B
CMake

find_package(Catch2 3 REQUIRED)
add_executable(filetape_tests ${PROJECT_SOURCE_DIR}/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)