commits
tags
add_executable(torlinkc_tests
test_main.cpp
test_bittorrented.cpp
test_filter.cpp
test_magnet.cpp
test_net.cpp
test_persist.cpp
test_queue.cpp
test_reconcile.cpp
test_registry.cpp
test_rss.cpp
test_sort.cpp
test_x1337.cpp
)
# torlinkc_ui (not just torlinkc_core): filter.cpp/sort.cpp live there since
# they're UI-layer presentation logic (see src/CMakeLists.txt), even though
# these tests never touch FTXUI itself.
target_link_libraries(torlinkc_tests PRIVATE torlinkc_ui)
add_test(NAME torlinkc_tests COMMAND torlinkc_tests)