aboutsummaryrefslogtreecommitdiff
path: root/build/BuildAll.bat
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2012-10-16 15:58:25 -0500
committerrogerk <devnull@localhost>2012-10-16 15:58:25 -0500
commitad7b9d114eb001e9803b9e3d4cbfb4cccd41a750 (patch)
tree15d775a711ac7425c73884fb7895047177ea43b6 /build/BuildAll.bat
parent8aad022bece39e9daa5d0d1b1a036c096fff2bb7 (diff)
downloadprotobuf-ad7b9d114eb001e9803b9e3d4cbfb4cccd41a750.tar.gz
protobuf-ad7b9d114eb001e9803b9e3d4cbfb4cccd41a750.tar.bz2
protobuf-ad7b9d114eb001e9803b9e3d4cbfb4cccd41a750.zip
Cleanup of build batch files, todo - rework publishrelease.bat
Diffstat (limited to 'build/BuildAll.bat')
-rw-r--r--build/BuildAll.bat8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/BuildAll.bat b/build/BuildAll.bat
index e35c6f61..9bee73c7 100644
--- a/build/BuildAll.bat
+++ b/build/BuildAll.bat
@@ -1,2 +1,8 @@
@echo off
-CMD.exe /Q /C "CD %~dp0 && %WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo build.csproj /t:FullBuild /toolsversion:4.0 %1 %2 %3 %4 %5 %6
+SET BUILD_TARGET=%~1
+SET BUILD_CONFIG=%~2
+
+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 /nologo build.csproj /t:%BUILD_TARGET% /toolsversion:4.0 "/p:Configuration=%BUILD_CONFIG%" %3 %4 %5 %6