Skip to content
Snippets Groups Projects
Commit a0866239 authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon Committed by GitHub
Browse files

Merge pull request #103 from chuckatkins/move-jsonhpp-to-thirdparty

Move jsonhpp to thirdparty
parents f1f1d83b e4955677
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,10 @@ add_library(dataman
CacheMan.cpp CacheMan.h
)
target_include_directories(dataman PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(dataman PRIVATE adios2sys)
target_link_libraries(dataman
PRIVATE adios2sys
PUBLIC NLohmannJson
)
list(APPEND dataman_targets dataman)
# Add the dataman plugins as MODULE libraries instead of SHARED libraries.
......
Checks: -*,readability-function-size
CheckOptions:
- key: readability-function-size.LineThreshold
value: -1
- key: readability-function-size.StatementThreshold
value: -1
- key: readability-function-size.BranchThreshold
value: -1
add_subdirectory(KWSys)
add_subdirectory(NLohmannJson)
if(BUILD_TESTING)
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.
MIT License
Copyright (c) 2013-2017 Niels Lohmann
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Source diff could not be displayed: it is too large. Options to address this: view the blob.
#!/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