aboutsummaryrefslogtreecommitdiff
path: root/build/Build.bat
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2010-12-15 20:59:36 -0600
committercsharptest <roger@csharptest.net>2010-12-15 20:59:36 -0600
commit7691473a71a15b75d7e7317af7a9db60365f30df (patch)
treebb439b33ccde85b5ac3b38ce460c4f6ee1a27920 /build/Build.bat
parent30d3fa320573ae7be306b97cccb52c1d281d3d03 (diff)
downloadprotobuf-7691473a71a15b75d7e7317af7a9db60365f30df.tar.gz
protobuf-7691473a71a15b75d7e7317af7a9db60365f30df.tar.bz2
protobuf-7691473a71a15b75d7e7317af7a9db60365f30df.zip
Completion of 3.5 build integration and Lite runtime build changes.
Diffstat (limited to 'build/Build.bat')
-rw-r--r--build/Build.bat7
1 files changed, 6 insertions, 1 deletions
diff --git a/build/Build.bat b/build/Build.bat
index 9cfce7c7..3269d54b 100644
--- a/build/Build.bat
+++ b/build/Build.bat
@@ -1,5 +1,10 @@
@echo off
+SET BUILD_TARGET=%1
+SET BUILD_CONFIG=%2
-%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.csproj /m /t:Build /p:BuildConfiguration=Debug /p:Platform="Any CPU"
+IF "%BUILD_TARGET%"=="" SET BUILD_TARGET=Rebuild
+IF "%BUILD_CONFIG%"=="" SET BUILD_CONFIG=Debug
+
+CMD.exe /Q /C "CD %~dp0 && %WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe build.csproj %3 %4 %5 %6 /t:%BUILD_TARGET% /p:BuildConfiguration=%BUILD_CONFIG% /p:Platform="Any CPU" /p:BuildTools=4.0 /toolsversion:4.0"
pause \ No newline at end of file