Skip to content
Snippets Groups Projects
Commit 9a8665ff authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Added infrastructure for json.hpp as a third party library

parent f1f1d83b
No related branches found
No related tags found
1 merge request!103Move jsonhpp to thirdparty
add_subdirectory(KWSys) add_subdirectory(KWSys)
add_subdirectory(NLohmannJson)
if(BUILD_TESTING) if(BUILD_TESTING)
add_subdirectory(GTest) add_subdirectory(GTest)
......
add_library(NLohmannJson INTERFACE)
target_include_directories(NLohmannJson
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/json/src
)
This is a copy of the upstream JSON For Modern C++ library located at
https://github.com/nlohmann/json. Do not make changes directly to this repo
but instead to the upstream repository. Update this copy of json.hpp by running
the update.sh script.
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="NLohmannJson"
readonly ownership="JSON For Modern C++ Upstream <robot@adios2>"
readonly subtree="thirdparty/NLohmannJson/json"
readonly repo="https://github.com/nlohmann/json.git"
readonly tag="v2.1.1"
readonly shortlog="true"
readonly paths="
LICENSE.MIT
src/json.hpp
"
extract_source () {
git_archive
}
. "${BASH_SOURCE%/*}/../update-common.sh"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment