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