Merge branch 'blender2.7'
[blender.git] / build_files / windows / build_msbuild.cmd
1 if "%NOBUILD%"=="1" goto EOF
2 echo %TIME% > %BUILD_DIR%\buildtime.txt
3 msbuild ^
4         %BUILD_DIR%\Blender.sln ^
5         /target:build ^
6         /property:Configuration=%BUILD_TYPE% ^
7         /maxcpucount:2 ^
8         /verbosity:minimal ^
9         /p:platform=%MSBUILD_PLATFORM% ^
10         /flp:Summary;Verbosity=minimal;LogFile=%BUILD_DIR%\Build.log 
11         if errorlevel 1 (
12                 echo Error during build, see %BUILD_DIR%\Build.log for details 
13                 exit /b 1
14         )
15
16 msbuild ^
17         %BUILD_DIR%\INSTALL.vcxproj ^
18         /property:Configuration=%BUILD_TYPE% ^
19         /verbosity:minimal ^
20         /p:platform=%MSBUILD_PLATFORM% 
21         if errorlevel 1 (
22                 echo Error during install phase
23                 exit /b 1
24         )
25 echo %TIME% >> %BUILD_DIR%\buildtime.txt
26 :EOF