aboutsummaryrefslogtreecommitdiff
path: root/PxShared/buildtools/steps/rebuild_all_xboxone.bat
diff options
context:
space:
mode:
Diffstat (limited to 'PxShared/buildtools/steps/rebuild_all_xboxone.bat')
-rw-r--r--PxShared/buildtools/steps/rebuild_all_xboxone.bat17
1 files changed, 17 insertions, 0 deletions
diff --git a/PxShared/buildtools/steps/rebuild_all_xboxone.bat b/PxShared/buildtools/steps/rebuild_all_xboxone.bat
new file mode 100644
index 0000000..7c2d3f1
--- /dev/null
+++ b/PxShared/buildtools/steps/rebuild_all_xboxone.bat
@@ -0,0 +1,17 @@
+:: Setup VS2015 build environment
+@call "%VS140COMNTOOLS%VsdevCmd.bat"
+
+@set ROOT_PATH=%~dp0..\..\compiler
+:: Xbox targets
+@devenv "%ROOT_PATH%\vc14xboxone-cmake\BlastAll.sln" /rebuild "debug"
+@if %ERRORLEVEL% neq 0 goto ERROR
+
+@devenv "%ROOT_PATH%\vc14xboxone-cmake\BlastAll.sln" /rebuild "profile"
+@if %ERRORLEVEL% neq 0 goto ERROR
+
+:: Success
+@exit /B 0
+
+:ERROR
+@echo Failure while building *Xbox One* targets!
+@exit /B 1