mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 10:51:50 -05:00
Merge pull request #2833 from j-selby/single-header-json
Don't pull in entire JSON repo for single header file
This commit is contained in:
commit
5621a65037
5 changed files with 14524 additions and 5 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -31,6 +31,3 @@
|
|||
[submodule "cpr"]
|
||||
path = externals/cpr
|
||||
url = https://github.com/whoshuu/cpr.git
|
||||
[submodule "json"]
|
||||
path = externals/json
|
||||
url = https://github.com/nlohmann/json.git
|
||||
|
|
2
externals/CMakeLists.txt
vendored
2
externals/CMakeLists.txt
vendored
|
@ -62,5 +62,5 @@ if (ENABLE_WEB_SERVICE)
|
|||
|
||||
# JSON
|
||||
add_library(json-headers INTERFACE)
|
||||
target_include_directories(json-headers INTERFACE ./json/src)
|
||||
target_include_directories(json-headers INTERFACE ./json)
|
||||
endif()
|
||||
|
|
1
externals/json
vendored
1
externals/json
vendored
|
@ -1 +0,0 @@
|
|||
Subproject commit d3496347fcd1382896fca3aaf78a0d803c2f52ec
|
7
externals/json/README.md
vendored
Normal file
7
externals/json/README.md
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
JSON for Modern C++
|
||||
===================
|
||||
|
||||
This is a mirror providing the single required header file.
|
||||
|
||||
The original repository can be found at
|
||||
https://github.com/nlohmann/json/commit/21d23982cafe826cae088b2bb37cb40c8e7a81fe
|
14516
externals/json/json.hpp
vendored
Normal file
14516
externals/json/json.hpp
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue