# Optional CMake wiring for the mars_text tests; the canonical runner is # build_and_run.sh (plain g++). Include from the root with # add_subdirectory(tests/mars_text) after add_subdirectory(src/mars/text). add_executable(mars_text_unit_tests unit_tests.cpp) target_link_libraries(mars_text_unit_tests PRIVATE mars_text) add_test(NAME mars_text_unit COMMAND mars_text_unit_tests) add_executable(mars_text_realdata_test realdata_test.cpp) target_link_libraries(mars_text_realdata_test PRIVATE mars_text) add_test(NAME mars_text_realdata COMMAND mars_text_realdata_test) # SKIPs without SOTS_DATA_DIR add_executable(mars_text_dump_json dump_json.cpp) target_link_libraries(mars_text_dump_json PRIVATE mars_text)