Skip to content

Commit

Permalink
update scripts/build-Plugins.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 26, 2025
1 parent f5a94af commit 35250cb
Showing 1 changed file with 17 additions and 24 deletions.
41 changes: 17 additions & 24 deletions scripts/build-Plugins.bat
Original file line number Diff line number Diff line change
Expand Up @@ -20,58 +20,51 @@ if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" (
"%InstallDir%\Common7\Tools\vsdevcmd.bat"

MSBuild.exe MetaHook.sln "/target:Plugins\Renderer" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\Renderer" /p:Configuration="Release_AVX2" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\BulletPhysics" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\BulletPhysics" /p:Configuration="Release_AVX2" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\VGUI2Extension" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\CaptionMod" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\CommunicationDemo" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\DontFlushSoundCache" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\PrecacheManager" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\SCModelDownloader" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\SteamScreenshots" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\StudioEvents" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\ThreadGuard" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\ResourceReplacer" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\HeapPatch" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror


MSBuild.exe MetaHook.sln "/target:Plugins\SCCameraFix" /p:Configuration="Release" /p:Platform="Win32"
IF %ERRORLEVEL% NEQ 0 GOTO builderror

echo Build OK
exit /b 0

)


:builderror
echo Build failed
exit /b -1
)

0 comments on commit 35250cb

Please sign in to comment.