https://github.com/Kitware/CMake
Tip revision: f84c15ef2fa30dd074fcccafccec6b9b69266619 authored by Brad King on 17 July 2018, 11:18:36 UTC
CMake 3.12.0
CMake 3.12.0
Tip revision: f84c15e
update-jsoncpp.bash
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="jsoncpp"
readonly ownership="JsonCpp Upstream <kwrobot@kitware.com>"
readonly subtree="Utilities/cmjsoncpp"
readonly repo="https://github.com/open-source-parsers/jsoncpp.git"
readonly tag="1.8.2"
readonly shortlog=false
readonly paths="
LICENSE
include/json
src/lib_json
"
readonly remove="
include/json/autolink.h
src/lib_json/CMakeLists.txt
src/lib_json/sconscript
src/lib_json/version.h.in
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
rm $remove
echo "* -whitespace" > .gitattributes
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"