2022-04-09 14:11:45 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
if not exist "windows" (
|
|
|
|
echo start this script in the source root directory
|
|
|
|
exit 1
|
2023-05-05 18:05:20 +00:00
|
|
|
)
|
2022-04-09 14:11:45 +00:00
|
|
|
|
|
|
|
set "BUILD_DIR=%CD%\3rdParty\Windows"
|
|
|
|
set "VCPKG_PORTS=%CD%\3rdParty\vcpkg_ports"
|
|
|
|
set "VCPKG_ROOT=%BUILD_DIR%\vcpkg"
|
|
|
|
|
2023-03-17 15:42:46 +00:00
|
|
|
call "%CD%\3rdParty\vcpkg_ports\vcpkg_link.bat"
|
2022-04-09 14:11:45 +00:00
|
|
|
|
|
|
|
if not exist "%VCPKG_ROOT%" (
|
|
|
|
mkdir -p "%VCPKG_ROOT%"
|
2023-03-17 15:42:46 +00:00
|
|
|
git -C %BUILD_DIR% clone %VCPKG_LINK%
|
2022-04-09 14:11:45 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
git -C %VCPKG_ROOT% pull
|
|
|
|
%VCPKG_ROOT%\bootstrap-vcpkg.bat
|