target_include_directories(${SIMDJSON_LIB_NAME} INTERFACE $ $ ) add_cpp_benchmark(parse) add_cpp_benchmark(statisticalmodel) add_cpp_benchmark(parse_stream) add_cpp_benchmark(get_corpus_benchmark) add_executable(perfdiff perfdiff.cpp) # Google Benchmarks if (SIMDJSON_GOOGLE_BENCHMARKS) add_cpp_benchmark(bench_parse_call) target_link_libraries(bench_parse_call benchmark::benchmark) add_cpp_benchmark(bench_dom_api) target_link_libraries(bench_dom_api benchmark::benchmark) target_compile_definitions(bench_dom_api PRIVATE JSON_TEST_PATH="${PROJECT_SOURCE_DIR}/jsonexamples/twitter.json") endif()