summaryrefslogtreecommitdiffstats
path: root/Utilities/Scripts
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-01-20 16:56:28 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-01-20 16:56:35 (GMT)
commit925d089a4d24e0f5873ab87a65a36db551052ee9 (patch)
treeed3db4b937953761af5026bc918ff079e3e3b12b /Utilities/Scripts
parenta47b4387b40047f9b9e0cf5f7dbe7c1fe056355e (diff)
parente674e02c555732821c55a99b9f63298ebbcd91f0 (diff)
downloadCMake-925d089a4d24e0f5873ab87a65a36db551052ee9.zip
CMake-925d089a4d24e0f5873ab87a65a36db551052ee9.tar.gz
CMake-925d089a4d24e0f5873ab87a65a36db551052ee9.tar.bz2
Merge topic 'ccmake-windows'
e674e02c55 Help: Add release note for experimental ccmake support on Windows 5c9310c714 ci: Enable ccmake on Windows 9278c6e01a ccmake: Add Windows support using PDCurses b97c12babb ccmake: Refactor resizing logic into cmCursesForm bf11dab49d ccmake: Refactor BUILD_CursesDialog option logic bf94e01348 cmpdcurses: Add CMake build system 89703bc941 Merge branch 'upstream-PDCurses' into update-pdcurses f84c4112c3 PDCurses 2021-12-08 (f1cd4f45) ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6832
Diffstat (limited to 'Utilities/Scripts')
-rwxr-xr-xUtilities/Scripts/update-pdcurses.bash32
1 files changed, 32 insertions, 0 deletions
diff --git a/Utilities/Scripts/update-pdcurses.bash b/Utilities/Scripts/update-pdcurses.bash
new file mode 100755
index 0000000..b1a2815
--- /dev/null
+++ b/Utilities/Scripts/update-pdcurses.bash
@@ -0,0 +1,32 @@
+#!/usr/bin/env bash
+
+set -e
+set -x
+shopt -s dotglob
+
+readonly name="PDCurses"
+readonly ownership="PDCurses Upstream <kwrobot@kitware.com>"
+readonly subtree="Utilities/cmpdcurses"
+readonly repo="https://github.com/wmcbrine/PDCurses.git"
+readonly tag="f1cd4f4569451a5028ddf3d3c202f0ad6b1ae446"
+readonly shortlog=false
+readonly paths="
+ README.md
+ *.h
+ common/acs437.h
+ common/acsuni.h
+ pdcurses/README.md
+ pdcurses/*.c
+ wincon/README.md
+ wincon/*.c
+ wincon/*.h
+"
+
+extract_source () {
+ git_archive
+ pushd "${extractdir}/${name}-reduced"
+ echo "* -whitespace" > .gitattributes
+ popd
+}
+
+. "${BASH_SOURCE%/*}/update-third-party.bash"