mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
09bd7e8ef8
* Specification is not followed. * Fixes. * Do not pass string_view by reference. * Better documentation. * The example is written for exceptions. * Better documentation. * Updating with deprecation. * Updating example. * Updating example.
10 lines
536 B
CMake
10 lines
536 B
CMake
if(TARGET cxxopts) # we only build the tools if cxxopts is available
|
|
message(STATUS "We have cxxopts as a dependency and we are buiding the tools (e.g., json2json).")
|
|
link_libraries(simdjson simdjson-internal-flags simdjson-windows-headers cxxopts)
|
|
add_executable(json2json json2json.cpp)
|
|
add_executable(jsonstats jsonstats.cpp)
|
|
add_executable(jsonpointer jsonpointer.cpp)
|
|
add_executable(minify minify.cpp)
|
|
else()
|
|
message(STATUS "We are missing cxxopts as a dependency so the tools (e.g., json2json) are omitted.")
|
|
endif() |