Add build-all.cmd script for convenience.

This commit is contained in:
Stinkfist0
2016-01-31 20:26:40 +02:00
parent 01f8882311
commit a041d289c6
6 changed files with 45 additions and 6 deletions
+32
View File
@@ -0,0 +1,32 @@
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: ::
:: This file is part of IfcOpenShell. ::
:: ::
:: IfcOpenShell is free software: you can redistribute it and/or modify ::
:: it under the terms of the Lesser GNU General Public License as published by ::
:: the Free Software Foundation, either version 3.0 of the License, or ::
:: (at your option) any later version. ::
:: ::
:: IfcOpenShell is distributed in the hope that it will be useful, ::
:: but WITHOUT ANY WARRANTY; without even the implied warranty of ::
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ::
:: Lesser GNU General Public License for more details. ::
:: ::
:: You should have received a copy of the Lesser GNU General Public License ::
:: along with this program. If not, see <http://www.gnu.org/licenses/>. ::
:: ::
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: TODO Allow passing cmd line args
@echo off
:: Use "yes" trick to break the pause in build-deps.cmd
echo y>y.txt
call .\build-deps <y.txt
if not %ERRORLEVEL%==0 goto :EOF
del .\y.txt
call .\run-cmake
if not %ERRORLEVEL%==0 goto :EOF
call .\build-ifcopenshell
ECHO %ERRORLEVEL%
if not %ERRORLEVEL%==0 goto :EOF
call .\install-ifcopenshell