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

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

SET cmakeGenerator=Visual Studio %vsver% Win64
SET TARGET_ARCHITECTURE=x64
SET cmakeProps=-DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=%UCRTVersion%

CALL BuildSetup.bat %*
POPD