aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/scripts/azure-pipelines/bootstrap-from-source.sh
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/scripts/azure-pipelines/bootstrap-from-source.sh
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/scripts/azure-pipelines/bootstrap-from-source.sh')
-rwxr-xr-xvcpkg/scripts/azure-pipelines/bootstrap-from-source.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcpkg/scripts/azure-pipelines/bootstrap-from-source.sh b/vcpkg/scripts/azure-pipelines/bootstrap-from-source.sh
new file mode 100755
index 0000000..d9ee04f
--- /dev/null
+++ b/vcpkg/scripts/azure-pipelines/bootstrap-from-source.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+
+git clone --depth 1 https://github.com/microsoft/vcpkg-tool vcpkg-tool
+git -C vcpkg-tool fetch --depth 1 origin $1
+git -C vcpkg-tool switch -d FETCH_HEAD
+rm -rf build.x64.release
+cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DVCPKG_DEVELOPMENT_WARNINGS=OFF -DVCPKG_WARNINGS_AS_ERRORS=OFF -DVCPKG_BUILD_FUZZING=OFF -DVCPKG_BUILD_TLS12_DOWNLOADER=OFF -B build.x64.release -S vcpkg-tool
+ninja -C build.x64.release
+mv build.x64.release/vcpkg vcpkg