externals: Add JSON as a submodule.

This commit is contained in:
bunnei 2017-07-09 13:22:24 -04:00
parent cc7583e036
commit 0f1ae781d0
3 changed files with 8 additions and 0 deletions

3
.gitmodules vendored
View File

@ -31,3 +31,6 @@
[submodule "cpr"]
path = externals/cpr
url = https://github.com/whoshuu/cpr.git
[submodule "json"]
path = externals/json
url = https://github.com/nlohmann/json.git

View File

@ -34,6 +34,10 @@ add_subdirectory(glad)
# inih
add_subdirectory(inih)
# JSON
add_library(json-headers INTERFACE)
target_include_directories(json-headers INTERFACE ./json/src)
# MicroProfile
add_library(microprofile INTERFACE)
target_include_directories(microprofile INTERFACE ./microprofile)

1
externals/json vendored Submodule

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