Conda build script

This commit is contained in:
Thomas Krijnen
2018-01-08 12:19:36 +01:00
parent c7329497a6
commit 6240191980
3 changed files with 67 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
mkdir build && cd build
cmake -G "NMake Makefiles" ^
-DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^
-DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^
-DBOOST_LIBRARYDIR="%LIBRARY_PREFIX%\lib" ^
-DBOOST_INCLUDEDIR="%LIBRARY_PREFIX%\include" ^
-DOCC_INCLUDE_DIR="%LIBRARY_PREFIX%\include\oce" ^
-DOCC_LIBRARY_DIR="%LIBRARY_PREFIX%\lib" ^
-DCOLLADA_SUPPORT=Off ^
../cmake
if errorlevel 1 exit 1
cmake --build . --target INSTALL --config Release
if errorlevel 1 exit 1
+15
View File
@@ -0,0 +1,15 @@
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=$PREFIX \
-DCMAKE_SYSTEM_PREFIX_PATH=$PREFIX \
-DOCC_INCLUDE_DIR=$PREFIX/include/oce \
-DOCC_LIBRARY_DIR=$PREFIX/lib \
-DCOLLADA_SUPPORT=Off \
../cmake
make -j$CPU_COUNT _ifcopenshell_wrapper
cd ifcwrap
make install/local
+33
View File
@@ -0,0 +1,33 @@
package:
name: ifcopenshell
version: "0.6.0a0"
source:
git_rev: "v0.6.0a0"
git_url: https://github.com/IfcOpenShell/IfcOpenShell
build:
number: 0
features:
- vc9 [win and py27]
- vc10 [win and py34]
- vc14 [win and py35]
- vc14 [win and py36]
requirements:
build:
- make
- python
- oce==0.17.2
- cmake
- swig >=3.0.9
- libboost
- icu
run:
- oce==0.17.2
- libboost
- icu
about:
home: http://ifcopenshell.org
license: LGPL