Skip to content

Commit b82c5bd

Browse files
Merge pull request #38 from simdjson/using_reflection_for_simdjson_ondemand
Reflection + tag_invoke approach to enable ondemand parsing on simdjson
2 parents 2680090 + 36efbc1 commit b82c5bd

4 files changed

Lines changed: 250 additions & 269 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ project(experimental_json_builder
88
LANGUAGES CXX
99
)
1010

11-
12-
1311
option(SIMDJSON_SERIALIZER_SANITIZE_MEMORY "Sanitize memory" OFF)
1412

1513
if(SIMDJSON_SERIALIZER_SANITIZE_MEMORY)
@@ -52,9 +50,11 @@ target_include_directories(
5250
)
5351

5452
include(cmake/CPM.cmake)
55-
# include simdjson
56-
CPMAddPackage("gh:simdjson/simdjson@3.9.4")
57-
53+
CPMAddPackage(
54+
NAME simdjson
55+
GITHUB_REPOSITORY the-moisrex/simdjson-custom-types
56+
GIT_TAG builder_development_branch
57+
) # include simdjson
5858

5959
add_subdirectory(examples)
6060
add_subdirectory(benchmarks)

examples/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,8 @@ target_link_libraries(example PRIVATE simdjson::serialization simdjson::simdjson
66

77
add_executable(example2 example2.cpp)
88
target_link_libraries(example2 PRIVATE simdjson::serialization simdjson::simdjson)
9+
10+
add_executable(example3 example3.cpp)
11+
target_link_libraries(example3 PRIVATE simdjson::serialization simdjson::simdjson)
12+
13+

0 commit comments

Comments
 (0)