2021-05-01 06:33:45 +08:00
|
|
|
add_subdirectory(dom)
|
|
|
|
|
|
|
|
|
2020-04-06 07:43:37 +08:00
|
|
|
include_directories( . linux )
|
2020-08-09 06:19:56 +08:00
|
|
|
link_libraries(simdjson-windows-headers test-data)
|
2021-04-23 21:24:56 +08:00
|
|
|
link_libraries(simdjson)
|
2020-12-21 02:19:12 +08:00
|
|
|
|
2020-05-03 04:00:00 +08:00
|
|
|
add_executable(benchfeatures benchfeatures.cpp)
|
2020-04-06 23:24:54 +08:00
|
|
|
add_executable(get_corpus_benchmark get_corpus_benchmark.cpp)
|
2020-02-15 07:20:17 +08:00
|
|
|
|
2021-01-16 03:46:05 +08:00
|
|
|
if (TARGET benchmark::benchmark)
|
2020-08-09 06:19:56 +08:00
|
|
|
link_libraries(benchmark::benchmark)
|
|
|
|
add_executable(bench_parse_call bench_parse_call.cpp)
|
|
|
|
add_executable(bench_dom_api bench_dom_api.cpp)
|
2021-01-06 08:26:02 +08:00
|
|
|
if(SIMDJSON_EXCEPTIONS)
|
2021-01-02 14:41:15 +08:00
|
|
|
add_executable(bench_ondemand bench_ondemand.cpp)
|
2021-01-06 08:26:02 +08:00
|
|
|
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()
|
2021-01-07 06:38:12 +08:00
|
|
|
if(TARGET nlohmann_json)
|
|
|
|
target_link_libraries(bench_ondemand PRIVATE nlohmann_json)
|
|
|
|
endif()
|
2021-01-06 08:26:02 +08:00
|
|
|
endif()
|
2020-08-09 06:19:56 +08:00
|
|
|
endif()
|
|
|
|
|