shithub: duke3d

ref: 6c2e057e9ce8ffdd75e5d10d660526760ddc151e
dir: /vcpkg_windows_x86.bat/

View raw version
mkdir build
cd build || goto :error
git clone https://github.com/Microsoft/vcpkg.git vcpkg.windows.x86 || goto :error
cd vcpkg.windows.x86 || goto :error
git checkout 2020.01 || goto :error
call bootstrap-vcpkg.bat || goto :error

vcpkg.exe install ^
	enet:x86-windows-static ^
	sdl2:x86-windows-static ^
	sdl2-mixer:x86-windows-static ^
	|| goto :error

cd ..
cd ..

exit /b


:error
echo Failed with error #%errorlevel%.
exit /b %errorlevel%