aboutsummaryrefslogtreecommitdiff
path: root/build/CleanAll.bat
diff options
context:
space:
mode:
authorcsharptest <roger@csharptest.net>2011-10-04 15:43:13 -0500
committerrogerk <devnull@localhost>2011-10-04 15:43:13 -0500
commit4bb080a774888517cd9dee84972aaa467ca7ead2 (patch)
tree2b9f6b0d0ab414da9a413c07890f2817dec1a28e /build/CleanAll.bat
parent6f5bf8d48bda3f415796428f16b33be662a08329 (diff)
downloadprotobuf-4bb080a774888517cd9dee84972aaa467ca7ead2.tar.gz
protobuf-4bb080a774888517cd9dee84972aaa467ca7ead2.tar.bz2
protobuf-4bb080a774888517cd9dee84972aaa467ca7ead2.zip
Added removal of build_output and build_temp to CleanAll.bat
Added /nologo for all msbuild calls
Diffstat (limited to 'build/CleanAll.bat')
-rw-r--r--build/CleanAll.bat12
1 files changed, 8 insertions, 4 deletions
diff --git a/build/CleanAll.bat b/build/CleanAll.bat
index 64df6f3f..10d7fc77 100644
--- a/build/CleanAll.bat
+++ b/build/CleanAll.bat
@@ -1,5 +1,9 @@
@echo off
-CMD.exe /Q /C "CD %~dp0 && %WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe build.csproj /toolsversion:4.0 "/t:Clean" "/p:BuildConfiguration=Release;TargetVersion=2"
-CMD.exe /Q /C "CD %~dp0 && %WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe build.csproj /toolsversion:4.0 "/t:Clean" "/p:BuildConfiguration=Debug;TargetVersion=2"
-CMD.exe /Q /C "CD %~dp0 && %WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe build.csproj /toolsversion:4.0 "/t:Clean" "/p:BuildConfiguration=Release_Silverlight;TargetVersion=2"
-CMD.exe /Q /C "CD %~dp0 && %WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe build.csproj /toolsversion:4.0 "/t:Clean" "/p:BuildConfiguration=Debug_Silverlight;TargetVersion=2"
+PUSHD %~dp0
+IF EXIST ..\build_output RMDIR /S /Q ..\build_output
+IF EXIST ..\build_temp RMDIR /S /Q ..\build_temp
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo build.csproj /toolsversion:4.0 /t:Clean /v:m "/p:BuildConfiguration=Release;TargetVersion=2"
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo build.csproj /toolsversion:4.0 /t:Clean /v:m "/p:BuildConfiguration=Debug;TargetVersion=2"
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo build.csproj /toolsversion:4.0 /t:Clean /v:m "/p:BuildConfiguration=Release_Silverlight;TargetVersion=2"
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /nologo build.csproj /toolsversion:4.0 /t:Clean /v:m "/p:BuildConfiguration=Debug_Silverlight;TargetVersion=2"
+POPD \ No newline at end of file