blender/build_files/windows/build_msbuild.cmd
Aldo Bleeker 30db64496c Make.bat: Fix building with VS2026
VS 2026 changed the solution name from .sln to .slnx this
commit updates make.bat for this change.

Pull Request: https://projects.blender.org/blender/blender/pulls/151797
2025-12-18 20:16:52 +01:00

26 lines
No EOL
659 B
Batchfile

if "%NOBUILD%"=="1" goto EOF
echo %TIME% > %BUILD_DIR%\buildtime.txt
msbuild ^
%BUILD_DIR%\Blender.%VS_SLN_EXT% ^
/target:build ^
/property:Configuration=%BUILD_TYPE% ^
/maxcpucount:2 ^
/verbosity:minimal ^
/p:platform=%MSBUILD_PLATFORM% ^
/flp:Summary;Verbosity=minimal;LogFile=%BUILD_DIR%\Build.log
if errorlevel 1 (
echo Error during build, see %BUILD_DIR%\Build.log for details
exit /b 1
)
msbuild ^
%BUILD_DIR%\INSTALL.vcxproj ^
/property:Configuration=%BUILD_TYPE% ^
/verbosity:minimal ^
/p:platform=%MSBUILD_PLATFORM%
if errorlevel 1 (
echo Error during install phase
exit /b 1
)
echo %TIME% >> %BUILD_DIR%\buildtime.txt
:EOF