gd-tools/tests/CMakeLists.txt.fixme

13 lines
505 B
Plaintext
Raw Normal View History

2024-02-07 20:32:30 +00:00
#set(HEADER_LIST ${gd-tools_SOURCE_DIR}/src/kana_conv.h)
add_executable(tests tests_main.cpp kana_conv.h util.h)
target_compile_features(tests PRIVATE cxx_std_23)
# Should be linked to the rdricpp library, as well as the Catch2 testing library
#target_link_libraries(tests PRIVATE cpr::cpr fmt::fmt nlohmann_json::nlohmann_json marisa rdricpp Catch2::Catch2WithMain)
target_link_libraries(tests PRIVATE cpr::cpr marisa rdricpp Catch2Main)
catch_discover_tests(tests)
add_test(NAME test COMMAND tests)