diff --git a/VS2008/Build.bat b/VS2008/Build.bat new file mode 100644 index 0000000..9379c87 --- /dev/null +++ b/VS2008/Build.bat @@ -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 +) diff --git a/VS2008/Clean.bat b/VS2008/Clean.bat new file mode 100644 index 0000000..b811189 --- /dev/null +++ b/VS2008/Clean.bat @@ -0,0 +1,7 @@ +call "%VS90COMNTOOLS%..\..\VC\vcvarsall.bat" +devenv /nologo Supermodel.sln /Clean +if %ERRORLEVEL% neq 0 ( +@echo Clean failed +pause +exit +)