Browse Source

Merge pull request #2833 from j-selby/single-header-json

Don't pull in entire JSON repo for single header file
nce_cpp
bunnei 9 years ago
committed by GitHub
parent
commit
a32e38fba0
  1. 3
      .gitmodules
  2. 2
      externals/CMakeLists.txt
  3. 1
      externals/json
  4. 7
      externals/json/README.md
  5. 14516
      externals/json/json.hpp

3
.gitmodules

@ -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

@ -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

@ -1 +0,0 @@
Subproject commit d3496347fcd1382896fca3aaf78a0d803c2f52ec

7
externals/json/README.md

@ -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
File diff suppressed because it is too large
View File

Loading…
Cancel
Save