vs-cfg: remove VS_HOST / VS_TOOLSET_HOST

They were added awhile ago in 67666ed for overcoming some win32 issues, which is not around anymore.
And now `VS_HOST` is never set (and therefore `VS_TOOLSET_HOST` is always empty too) and likely to be never used.
This commit is contained in:
Andrej730
2026-09-07 10:41:11 +05:00
parent 21691616fd
commit d399581f11
3 changed files with 2 additions and 19 deletions
+1 -5
View File
@@ -1035,11 +1035,7 @@ pushd %BUILD_DIR%
:: cache always e.g. when we've had new changes in the repository.
IF %BUILD_TYPE%==Rebuild IF EXIST CMakeCache.txt. del CMakeCache.txt
set VS_TOOLSET_CMAKE_ARG=
IF NOT "%VS_TOOLSET_HOST%"=="" (
set VS_TOOLSET_CMAKE_ARG=-T %VS_TOOLSET_HOST%
)
set COMMAND=cmake .. -G %GENERATOR% -A %VS_PLATFORM% %VS_TOOLSET_CMAKE_ARG% %*
set COMMAND=cmake .. -G %GENERATOR% -A %VS_PLATFORM% %*
echo %COMMAND%
%COMMAND%
set RET=%ERRORLEVEL%