gd-tools/tests/CMakeLists.txt.fixme
2024-02-20 12:52:36 -08:00

13 lines
496 B
Plaintext

#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 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)