aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/windows/win32/BuildSetup.bat
blob: ecfb42ff769c42ad09cfb5f875461a00620a66d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@ECHO OFF

PUSHD %~dp0\..

CALL vswhere.bat x86
IF ERRORLEVEL 1 (
  ECHO ERROR! BuildSetup.bat: Something went wrong when calling vswhere.bat
  POPD
  EXIT /B 1
)

SET cmakeGenerator=Visual Studio %vsver%
SET TARGET_ARCHITECTURE=x86

CALL BuildSetup.bat %*
POPD