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
|
2024-02-20 20:52:36 +00:00
|
|
|
#target_link_libraries(tests PRIVATE cpr::cpr nlohmann_json::nlohmann_json marisa rdricpp Catch2::Catch2WithMain)
|
2024-02-07 20:32:30 +00:00
|
|
|
target_link_libraries(tests PRIVATE cpr::cpr marisa rdricpp Catch2Main)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
catch_discover_tests(tests)
|
|
|
|
add_test(NAME test COMMAND tests)
|