Merge branch 'blender2.7'
[blender.git] / build_files / windows / build_ninja.cmd
1 if "%NOBUILD%"=="1" goto EOF
2 set HAS_ERROR=
3 cd %BUILD_DIR%
4 echo %TIME% > buildtime.txt
5 ninja install
6 if errorlevel 1 (
7                 set HAS_ERROR=1
8         )
9 echo %TIME% >>buildtime.txt
10 cd %BLENDER_DIR%
11
12 if "%HAS_ERROR%" == "1" (
13                 echo Error during build
14                 exit /b 1
15 )
16 :EOF