This repository has been archived on 2023-02-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-benchmark-bundle/bundle/bundle-windows.bat
Sergey Sharybin 91e5e4b6a4 Bundle: Tweaks to bootstrap bunlder
It seems running vcvarsall from inside Git bash
does not make proper change in the environment.

Workaround is to have separate script, which
sets environment up and calls bash scripts.
2018-08-07 18:44:31 +02:00

18 lines
537 B
Batchfile

@echo off
SET ARCH=%1
if "%ARCH%" == "x64" (echo Building for 64bit) else (
if "%ARCH%" == "x86" (echo Building for 32bit) else (
echo Unknown architecture, specity x86 or x64
exit /B 1
)
)
rem %HOMEDRIVE%
rem cd %HOMEPATH%
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %ARCH%
echo Use full exe names when running under bash, e.g. "msbuild.exe"
echo Loading bash, you may now use git and msbuild in the same console \o/.
"C:\Program Files\Git\bin\sh.exe" --login -i