From d07ffa838992e33cffc459acf5546b84e243a3c2 Mon Sep 17 00:00:00 2001
From: LaurentGom <LaurentGom@4e206d99-4929-0410-ac5d-dfc041789085>
Date: Fri, 29 Jan 2010 22:31:00 +0000
Subject: [PATCH] Added a batch-build script for SFML.Net

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1385 4e206d99-4929-0410-ac5d-dfc041789085
---
 dotnet/build/build-all-windows.bat        | 10 ++++++++++
 dotnet/build/vc2008/batch-build/build.bat |  8 ++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 dotnet/build/build-all-windows.bat
 create mode 100644 dotnet/build/vc2008/batch-build/build.bat

diff --git a/dotnet/build/build-all-windows.bat b/dotnet/build/build-all-windows.bat
new file mode 100644
index 00000000..c70c7765
--- /dev/null
+++ b/dotnet/build/build-all-windows.bat
@@ -0,0 +1,10 @@
+@echo off
+
+echo Compiling Visual C++ 2008 libraries...
+cd vc2008\batch-build
+call build.bat
+
+cd ..\..
+
+echo Done
+pause
diff --git a/dotnet/build/vc2008/batch-build/build.bat b/dotnet/build/vc2008/batch-build/build.bat
new file mode 100644
index 00000000..7a18695b
--- /dev/null
+++ b/dotnet/build/vc2008/batch-build/build.bat
@@ -0,0 +1,8 @@
+@echo off
+
+set MSBUILD=%WINDIR%\Microsoft.NET\Framework\v3.5\msbuild
+
+echo Compiling release libraries...
+%MSBUILD% ..\SFML.net.sln /verbosity:q /maxcpucount /target:sfml-window,sfml-graphics,sfml-audio /property:Configuration="Release"
+
+echo Done