mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 22:34:22 +08:00
4c82b77b45
* Add the ability to do full rebuilds with updated copies of vcpkg-tool. Resurrection of https://github.com/microsoft/vcpkg/pull/23753/ * Extract all scripts out of inline blocks. * Replicate all changes to the "unstable" testing. * Fix bootstrap :) * Fix version files validation path. * Malformed. * Paths and permissions. * Fixed file name typo * Update scripts/azure-pipelines/bootstrap-from-source.sh Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
8 lines
558 B
Batchfile
8 lines
558 B
Batchfile
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=x86 -host_arch=x86
|
|
git clone https://github.com/microsoft/vcpkg-tool vcpkg-tool
|
|
git -C vcpkg-tool switch -d %1
|
|
rmdir /s /q build.x86.release > nul 2> nul
|
|
cmake.exe -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.x86.release -S vcpkg-tool
|
|
ninja.exe -C build.x86.release
|
|
move build.x86.release\vcpkg.exe vcpkg.exe
|