1 Star 1 Fork 0

地球仪/IfcOpenShell

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.60 KB
一键复制 编辑 原始数据 按行查看 历史
Thomas Krijnen 提交于 2017-06-05 17:26 . ifcparse refactoring (#190)
language: cpp
compiler: gcc
os: linux
dist: trusty
sudo: required
before_install:
- sudo apt-get update -qq
install:
- sudo apt-get install -qq gcc-4.8 g++-4.8
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- sudo apt-get install -y libboost1.55-dev
- sudo apt-get install -y libboost-regex1.55-dev
- sudo apt-get install -y libboost-system1.55-dev
- sudo apt-get install -y libboost-thread1.55-dev
- sudo apt-get install -y libboost-program-options1.55-dev
- sudo apt-get install -y cmake
- sudo apt-get install -y libicu-dev
- sudo apt-get install -y python-all-dev
- sudo apt-get install -y swig
- sudo apt-get install -y liboce-foundation-dev
- sudo apt-get install -y liboce-modeling-dev
- sudo apt-get install -y liboce-ocaf-dev
- sudo apt-get install -y liboce-visualization-dev
- sudo apt-get install -y liboce-ocaf-lite-dev
- sudo apt-get install -y libpcre3-dev
script:
- pwd
- cd ..
- git clone https://github.com/KhronosGroup/OpenCOLLADA.git
- cd OpenCOLLADA
- git checkout 064a60b65c2c31b94f013820856bc84fb1937cc6
- mkdir build
- cd build
- cmake ..
- make
- sudo make install
- cd ..
- cd ..
- pwd
- cd IfcOpenShell
- pwd
- cd cmake
- mkdir build-ifc2x3 build-ifc4
- cd build-ifc2x3
- cmake -DCOLLADA_SUPPORT=True -DOPENCOLLADA_INCLUDE_DIR=/usr/local/include/opencollada -DOPENCOLLADA_LIBRARY_DIR=/usr/local/lib/opencollada -DPCRE_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DUSE_IFC4=False -DBUILD_IFCPYTHON=True -DUNICODE_SUPPORT=True -DOCC_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DPYTHON_LIBRARY=/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_EXECUTABLE=/usr/bin/python2.7 ..
- make -j
- sudo make install
- ./examples/IfcOpenHouse
- ./examples/IfcAdvancedHouse
- test -f IfcOpenHouse.ifc
- test -f IfcAdvancedHouse.ifc
- cd ../../test
- /usr/bin/python2.7 tests.py
- cd ../cmake/build-ifc4
- cmake -DCOLLADA_SUPPORT=True -DOPENCOLLADA_INCLUDE_DIR=/usr/local/include/opencollada -DOPENCOLLADA_LIBRARY_DIR=/usr/local/lib/opencollada -DPCRE_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DUSE_IFC4=True -DBUILD_IFCPYTHON=True -DUNICODE_SUPPORT=True -DOCC_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu -DPYTHON_LIBRARY=/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_EXECUTABLE=/usr/bin/python2.7 ..
- make -j
- ./examples/IfcOpenHouse
- ./examples/IfcAdvancedHouse
- test -f IfcOpenHouse.ifc
- test -f IfcAdvancedHouse.ifc
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/diqiuyi/IfcOpenShell.git
[email protected]:diqiuyi/IfcOpenShell.git
diqiuyi
IfcOpenShell
IfcOpenShell
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385