Skip to content

Commit

Permalink
libraries: add rapidjson
Browse files Browse the repository at this point in the history
  • Loading branch information
wfrisch committed Dec 11, 2024
1 parent c70b259 commit 1ad7cf2
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,6 @@
[submodule "libraries/yyjson"]
path = libraries/yyjson
url = https://github.com/ibireme/yyjson
[submodule "libraries/rapidjson"]
path = libraries/rapidjson
url = https://github.com/Tencent/rapidjson/
24 changes: 24 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,28 @@ def sparse_paths(self):
Library('pcre2', [
"src/*",
]),
Library('rapidjson', [
"include/rapidjson/document.h",
"include/rapidjson/schema.h",
"include/rapidjson/reader.h",
"test/unittest/readertest.cpp",
"include/rapidjson/rapidjson.h",
"test/unittest/schematest.cpp",
"test/unittest/valuetest.cpp",
"include/rapidjson/writer.h",
"include/rapidjson/pointer.h",
"include/rapidjson/internal/regex.h",
"test/unittest/pointertest.cpp",
"test/unittest/writertest.cpp",
"include/rapidjson/allocators.h",
"test/unittest/documenttest.cpp",
"include/rapidjson/prettywriter.h",
"test/perftest/rapidjsontest.cpp",
"include/rapidjson/internal/stack.h",
"include/rapidjson/encodings.h",
"include/rapidjson/internal/strtod.h",
"test/unittest/uritest.cpp",
]),
Library('sqlite', [
"src/sqliteInt.h",
"src/vdbe.c",
Expand Down Expand Up @@ -1169,7 +1191,9 @@ def sparse_paths(self):
"lz4": ["xxHash"],
"minizip-ng": ["xz"],
"openjpeg": ["libpng", "libtiff", "Little-CMS", "zlib"],
"rapidjson": ["googletest"],
#"protobuf": ["googletest"],
"yyjson": ["rapidjson"], # embeds test cases
"zlib": ["minizip-ng"],
"zstd": ["xxHash", "zlib"],
}
Expand Down
1 change: 1 addition & 0 deletions libraries/rapidjson
Submodule rapidjson added at 58c693

0 comments on commit 1ad7cf2

Please sign in to comment.