mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 07:54:36 +00:00
Fail with error code if install_vcpkg_dependencies.bat commands fail
This commit is contained in:
parent
84319911c5
commit
087e1d8036
@ -1,14 +1,17 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
setlocal
|
||||||
|
|
||||||
pushd %~dp0
|
pushd %~dp0
|
||||||
|
|
||||||
REM get vcpkg distribution
|
REM get vcpkg distribution
|
||||||
if not exist vcpkg git clone https://github.com/Microsoft/vcpkg.git
|
if not exist vcpkg git clone https://github.com/Microsoft/vcpkg.git || exit /b 1
|
||||||
|
|
||||||
REM build vcpkg
|
REM build vcpkg
|
||||||
if not exist vcpkg\vcpkg.exe call vcpkg\bootstrap-vcpkg.bat -disableMetrics
|
if not exist vcpkg\vcpkg.exe call vcpkg\bootstrap-vcpkg.bat -disableMetrics || exit /b 2
|
||||||
|
|
||||||
|
set VCPKG_ROOT=%cd%\vcpkg
|
||||||
|
|
||||||
REM install required packages
|
REM install required packages
|
||||||
vcpkg\vcpkg.exe install --triplet x64-windows-static
|
vcpkg\vcpkg.exe install --triplet x64-windows-static || exit /b 3
|
||||||
|
|
||||||
popd
|
popd
|
||||||
|
Loading…
Reference in New Issue
Block a user