externals: Add JSON as a submodule.
This commit is contained in:
parent
cc7583e036
commit
0f1ae781d0
3 changed files with 8 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -31,3 +31,6 @@
|
||||||
[submodule "cpr"]
|
[submodule "cpr"]
|
||||||
path = externals/cpr
|
path = externals/cpr
|
||||||
url = https://github.com/whoshuu/cpr.git
|
url = https://github.com/whoshuu/cpr.git
|
||||||
|
[submodule "json"]
|
||||||
|
path = externals/json
|
||||||
|
url = https://github.com/nlohmann/json.git
|
||||||
|
|
4
externals/CMakeLists.txt
vendored
4
externals/CMakeLists.txt
vendored
|
@ -34,6 +34,10 @@ add_subdirectory(glad)
|
||||||
# inih
|
# inih
|
||||||
add_subdirectory(inih)
|
add_subdirectory(inih)
|
||||||
|
|
||||||
|
# JSON
|
||||||
|
add_library(json-headers INTERFACE)
|
||||||
|
target_include_directories(json-headers INTERFACE ./json/src)
|
||||||
|
|
||||||
# MicroProfile
|
# MicroProfile
|
||||||
add_library(microprofile INTERFACE)
|
add_library(microprofile INTERFACE)
|
||||||
target_include_directories(microprofile INTERFACE ./microprofile)
|
target_include_directories(microprofile INTERFACE ./microprofile)
|
||||||
|
|
1
externals/json
vendored
Submodule
1
externals/json
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d3496347fcd1382896fca3aaf78a0d803c2f52ec
|
Loading…
Reference in a new issue