boinc/windows/bootstrap_vcpkg_cmake.bat

21 lines
410 B
Batchfile

@echo off
if not exist "windows" (
echo start this script in the source root directory
exit 1
)
set "BUILD_DIR=%CD%\3rdParty\Windows"
set "VCPKG_PORTS=%CD%\3rdParty\vcpkg_ports"
set "VCPKG_ROOT=%BUILD_DIR%\vcpkg"
if not exist "%VCPKG_ROOT%" (
mkdir -p "%VCPKG_ROOT%"
git -C %BUILD_DIR% clone https://github.com/microsoft/vcpkg
)
git -C %VCPKG_ROOT% pull
%VCPKG_ROOT%\bootstrap-vcpkg.bat