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

PUSHD %~dp0\..
CALL vswhere.bat x64
IF ERRORLEVEL 1 (
  ECHO ERROR! BuildSetup.bat: Something went wrong when calling vswhere.bat
  POPD
  EXIT /B 1
)

SET cmakeGenerator=Visual Studio %vsver%
SET cmakeArch=x64
SET TARGET_ARCHITECTURE=x64
SET TARGET_PLATFORM=%TARGET_ARCHITECTURE%

CALL BuildSetup.bat %*
POPD