1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-26 19:39:53 +03:00

Merge PR #559: Windows: suppress detailed build output

This commit is contained in:
Davide Beatrici 2018-07-26 06:51:10 +02:00 committed by GitHub
commit 0a839bcc0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View File

@ -24,9 +24,7 @@ if exist "%BATCH_DIR_NAME%\bin\BuildUtil.exe" (
del "%BATCH_DIR_NAME%\bin\BuildUtil.exe" del "%BATCH_DIR_NAME%\bin\BuildUtil.exe"
) )
C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe /toolsversion:3.5 /verbosity:detailed /target:Clean /property:Configuration=Debug "%BATCH_DIR_NAME%\BuildUtil\BuildUtil.csproj" C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe /toolsversion:3.5 /target:Clean;Rebuild /property:Configuration=Debug "%BATCH_DIR_NAME%\BuildUtil\BuildUtil.csproj"
C:\windows\Microsoft.NET\Framework\v3.5\MSBuild.exe /toolsversion:3.5 /verbosity:detailed /target:Rebuild /property:Configuration=Debug "%BATCH_DIR_NAME%\BuildUtil\BuildUtil.csproj"
cd %BATCH_DIR_NAME%\bin cd %BATCH_DIR_NAME%\bin

View File

@ -627,19 +627,19 @@ namespace BuildUtil
StreamWriter bat = new StreamWriter(batFileName, false, Str.ShiftJisEncoding); StreamWriter bat = new StreamWriter(batFileName, false, Str.ShiftJisEncoding);
bat.WriteLine("call \"{0}\"", Paths.VisualStudioVCBatchFileName); bat.WriteLine("call \"{0}\"", Paths.VisualStudioVCBatchFileName);
bat.WriteLine("echo on"); bat.WriteLine("echo on");
bat.WriteLine("\"{0}\" /toolsversion:3.5 /verbosity:detailed /target:Clean /property:Configuration=Release /property:Platform=Win32 \"{1}\"", bat.WriteLine("\"{0}\" /toolsversion:3.5 /target:Clean /property:Configuration=Release /property:Platform=Win32 \"{1}\"",
Paths.MSBuildFileName, Paths.VPN4SolutionFileName); Paths.MSBuildFileName, Paths.VPN4SolutionFileName);
bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR"); bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR");
bat.WriteLine("\"{0}\" /toolsversion:3.5 /verbosity:detailed /target:Clean /property:Configuration=Release /property:Platform=x64 \"{1}\"", bat.WriteLine("\"{0}\" /toolsversion:3.5 /target:Clean /property:Configuration=Release /property:Platform=x64 \"{1}\"",
Paths.MSBuildFileName, Paths.VPN4SolutionFileName); Paths.MSBuildFileName, Paths.VPN4SolutionFileName);
bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR"); bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR");
bat.WriteLine("\"{0}\" /toolsversion:3.5 /verbosity:detailed /target:Rebuild /property:Configuration=Release /property:Platform=Win32 \"{1}\"", bat.WriteLine("\"{0}\" /toolsversion:3.5 /target:Rebuild /property:Configuration=Release /property:Platform=Win32 \"{1}\"",
Paths.MSBuildFileName, Paths.VPN4SolutionFileName); Paths.MSBuildFileName, Paths.VPN4SolutionFileName);
bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR"); bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR");
bat.WriteLine("\"{0}\" /toolsversion:3.5 /verbosity:detailed /target:Rebuild /property:Configuration=Release /property:Platform=x64 \"{1}\"", bat.WriteLine("\"{0}\" /toolsversion:3.5 /target:Rebuild /property:Configuration=Release /property:Platform=x64 \"{1}\"",
Paths.MSBuildFileName, Paths.VPN4SolutionFileName); Paths.MSBuildFileName, Paths.VPN4SolutionFileName);
bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR"); bat.WriteLine("IF ERRORLEVEL 1 GOTO LABEL_ERROR");