mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 16:59:02 +08:00
10 lines
417 B
Bash
10 lines
417 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
git clone https://github.com/microsoft/vcpkg-tool vcpkg-tool
|
||
|
git -C vcpkg-tool switch -d $1
|
||
|
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
|