From ac29fc1e88b5f29d3fc21046f539086631163be2 Mon Sep 17 00:00:00 2001 From: Bart Trzynadlowski Date: Thu, 12 Jul 2012 06:40:55 +0000 Subject: [PATCH] Somehow John's Build.bat and Clean.bat did not get added in r262. Here they are. --- VS2008/Build.bat | 17 +++++++++++++++++ VS2008/Clean.bat | 7 +++++++ 2 files changed, 24 insertions(+) create mode 100644 VS2008/Build.bat create mode 100644 VS2008/Clean.bat 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 +)