mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Update build bat to work with VS ent
This commit is contained in:
parent
da8f465d13
commit
0294935951
11
build.bat
11
build.bat
@ -39,16 +39,23 @@ IF "%~1" == "" (
|
|||||||
PUSHD "src"
|
PUSHD "src"
|
||||||
|
|
||||||
TITLE %BUILDTYPE%ing SubtitleEdit - Release^|Any CPU...
|
TITLE %BUILDTYPE%ing SubtitleEdit - Release^|Any CPU...
|
||||||
|
ECHO %InstallDir%
|
||||||
if exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" (
|
IF exist "%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" (
|
||||||
"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" SubtitleEdit.sln /t:%BUILDTYPE% /p:Configuration=Release /p:Platform="Any CPU"^
|
"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" SubtitleEdit.sln /t:%BUILDTYPE% /p:Configuration=Release /p:Platform="Any CPU"^
|
||||||
/maxcpucount /consoleloggerparameters:DisableMPLogging;Summary;Verbosity=minimal
|
/maxcpucount /consoleloggerparameters:DisableMPLogging;Summary;Verbosity=minimal
|
||||||
IF %ERRORLEVEL% NEQ 0 GOTO EndWithError
|
IF %ERRORLEVEL% NEQ 0 GOTO EndWithError
|
||||||
|
) ELSE (
|
||||||
|
IF exist "%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" (
|
||||||
|
"%InstallDir%\MSBuild\Current\Bin\MSBuild.exe" SubtitleEdit.sln /t:%BUILDTYPE% /p:Configuration=Release /p:Platform="Any CPU"^
|
||||||
|
/maxcpucount /consoleloggerparameters:DisableMPLogging;Summary;Verbosity=minimal
|
||||||
|
IF %ERRORLEVEL% NEQ 0 GOTO EndWithError
|
||||||
) else (
|
) else (
|
||||||
ECHO Cannot find Visual Studio 2017
|
ECHO Cannot find Visual Studio 2017
|
||||||
GOTO EndWithError
|
GOTO EndWithError
|
||||||
)
|
)
|
||||||
|
|
||||||
|
)
|
||||||
|
|
||||||
IF /I "%BUILDTYPE%" == "Clean" GOTO END
|
IF /I "%BUILDTYPE%" == "Clean" GOTO END
|
||||||
|
|
||||||
ECHO.
|
ECHO.
|
||||||
|
Loading…
Reference in New Issue
Block a user