Add json.hpp as the JSON lib.
This commit is contained in:
parent
ee384843e9
commit
51127241ef
4 changed files with 9 additions and 0 deletions
4
.gitmodules
vendored
4
.gitmodules
vendored
|
@ -30,3 +30,7 @@
|
||||||
path = third-party/cpr
|
path = third-party/cpr
|
||||||
url = https://github.com/whoshuu/cpr
|
url = https://github.com/whoshuu/cpr
|
||||||
branch = master
|
branch = master
|
||||||
|
[submodule "json.hpp"]
|
||||||
|
path = third-party/json
|
||||||
|
url = https://github.com/nlohmann/json
|
||||||
|
branch = master
|
||||||
|
|
|
@ -92,4 +92,7 @@ set(CPR_BUILD_TESTS OFF CACHE BOOL "" FORCE)
|
||||||
set(CMAKE_USE_LIBSSH2 OFF CACHE BOOL "" FORCE) # For some reason, even when HTTP_ONLY is set to ON, libcurl will try to link to libssh2.
|
set(CMAKE_USE_LIBSSH2 OFF CACHE BOOL "" FORCE) # For some reason, even when HTTP_ONLY is set to ON, libcurl will try to link to libssh2.
|
||||||
add_subdirectory(third-party/cpr EXCLUDE_FROM_ALL)
|
add_subdirectory(third-party/cpr EXCLUDE_FROM_ALL)
|
||||||
|
|
||||||
|
set(JSON_BuildTests OFF CACHE BOOL "" FORCE)
|
||||||
|
add_subdirectory(third-party/json)
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
|
@ -78,5 +78,6 @@ target_link_libraries(MassBuilderSaveTool PRIVATE
|
||||||
efsw
|
efsw
|
||||||
zip
|
zip
|
||||||
cpr::cpr
|
cpr::cpr
|
||||||
|
nlohmann_json::nlohmann_json
|
||||||
imm32
|
imm32
|
||||||
wtsapi32)
|
wtsapi32)
|
||||||
|
|
1
third-party/json
vendored
Submodule
1
third-party/json
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 350ff4f7ced7c4117eae2fb93df02823c8021fcb
|
Loading…
Reference in a new issue