mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-21 21:35:38 +00:00
Somehow John's Build.bat and Clean.bat did not get added in r262. Here they are.
This commit is contained in:
parent
772c94d122
commit
ac29fc1e88
17
VS2008/Build.bat
Normal file
17
VS2008/Build.bat
Normal file
|
@ -0,0 +1,17 @@
|
|||
@if "%~1" equ "" (
|
||||
echo This file cannot be run without arguments. Please run 'Build.Release.bat' instead.
|
||||
pause
|
||||
exit
|
||||
)
|
||||
set CONFIG=%~1
|
||||
set PLATFORM=%2
|
||||
set PROJECT=%3
|
||||
@if "%4" neq "" (set ACTION=%4) else (set ACTION=Build)
|
||||
if %PLATFORM% == x64 (set MACHINE=x64) else (set MACHINE=x86)
|
||||
call "%VS90COMNTOOLS%..\..\VC\vcvarsall.bat" %MACHINE%
|
||||
devenv /nologo Supermodel.sln /Project %PROJECT% /%ACTION% "%CONFIG%|%PLATFORM%"
|
||||
@if %ERRORLEVEL% neq 0 (
|
||||
echo %~1 %3 %4 failed
|
||||
pause
|
||||
exit
|
||||
)
|
7
VS2008/Clean.bat
Normal file
7
VS2008/Clean.bat
Normal file
|
@ -0,0 +1,7 @@
|
|||
call "%VS90COMNTOOLS%..\..\VC\vcvarsall.bat"
|
||||
devenv /nologo Supermodel.sln /Clean
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
@echo Clean failed
|
||||
pause
|
||||
exit
|
||||
)
|
Loading…
Reference in a new issue