add_subdirectory(dom) include_directories( . linux ) link_libraries(simdjson-windows-headers test-data) link_libraries(simdjson) add_executable(benchfeatures benchfeatures.cpp) add_executable(get_corpus_benchmark get_corpus_benchmark.cpp) if (TARGET benchmark::benchmark) link_libraries(benchmark::benchmark) add_executable(bench_parse_call bench_parse_call.cpp) add_executable(bench_dom_api bench_dom_api.cpp) if(SIMDJSON_EXCEPTIONS) add_executable(bench_ondemand bench_ondemand.cpp) if(TARGET yyjson) target_link_libraries(bench_ondemand PRIVATE yyjson) endif() if(TARGET rapidjson) target_link_libraries(bench_ondemand PRIVATE rapidjson) endif() if(TARGET sajson) target_link_libraries(bench_ondemand PRIVATE sajson) endif() if(TARGET nlohmann_json) target_link_libraries(bench_ondemand PRIVATE nlohmann_json) endif() endif() endif()