diff options
Diffstat (limited to 'tools/buildsteps/windows/win32-uwp/BuildSetup.bat')
-rw-r--r-- | tools/buildsteps/windows/win32-uwp/BuildSetup.bat | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/buildsteps/windows/win32-uwp/BuildSetup.bat b/tools/buildsteps/windows/win32-uwp/BuildSetup.bat new file mode 100644 index 0000000..5ddf234 --- /dev/null +++ b/tools/buildsteps/windows/win32-uwp/BuildSetup.bat @@ -0,0 +1,18 @@ +@ECHO OFF + +PUSHD %~dp0\.. +CALL vswhere.bat x86 store +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=Win32 +SET TARGET_ARCHITECTURE=x86 +SET TARGET_PLATFORM=win32-uwp +SET cmakeProps=-DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=%UCRTVersion% + +CALL BuildSetup.bat %* +POPD |