mirror of https://github.com/CGAL/cgal
Merge pull request #2732 from maxGimeno/Travis-Install_openmesh-GF
Travis: Add OpenMesh
This commit is contained in:
commit
5ffbed4cf7
|
|
@ -61,8 +61,9 @@ before_script:
|
||||||
- cmake -DCGAL_HEADER_ONLY=ON -DQt5_DIR="/opt/qt55/lib/cmake/Qt5" -DQt5Svg_DIR="/opt/qt55/lib/cmake/Qt5Svg" -DQt5OpenGL_DIR="/opt/qt55/lib/cmake/Qt5OpenGL" -DCMAKE_CXX_FLAGS_RELEASE=-DCGAL_NDEBUG ..
|
- cmake -DCGAL_HEADER_ONLY=ON -DQt5_DIR="/opt/qt55/lib/cmake/Qt5" -DQt5Svg_DIR="/opt/qt55/lib/cmake/Qt5Svg" -DQt5OpenGL_DIR="/opt/qt55/lib/cmake/Qt5OpenGL" -DCMAKE_CXX_FLAGS_RELEASE=-DCGAL_NDEBUG ..
|
||||||
- make
|
- make
|
||||||
- sudo make install &>/dev/null
|
- sudo make install &>/dev/null
|
||||||
- cd ..
|
- cd ..
|
||||||
script:
|
- sudo bash ./.travis/install_openmesh.sh
|
||||||
|
script:
|
||||||
- cd ./.travis
|
- cd ./.travis
|
||||||
- bash -x -e ./build_package.sh $PACKAGE
|
- bash -x -e ./build_package.sh $PACKAGE
|
||||||
addons:
|
addons:
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
mkdir -p openmesh
|
||||||
|
cd openmesh
|
||||||
|
wget -O openmesh.tar.gz https://www.openmesh.org/media/Releases/6.3/OpenMesh-6.3.tar.gz
|
||||||
|
tar xvf openmesh.tar.gz --strip-components=1
|
||||||
|
|
||||||
|
sed -i '94i #include <sys/time.h>' src/OpenMesh/Tools/Utils/conio.cc
|
||||||
|
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DBUILD_APPS=FALSE ..
|
||||||
|
make -j2
|
||||||
|
sudo make -j2 install &>/dev/null
|
||||||
|
|
||||||
|
#clean up
|
||||||
|
cd ../..
|
||||||
|
rm -rf ./openmesh
|
||||||
|
|
@ -16,8 +16,9 @@ before_script:
|
||||||
- cmake -DCGAL_HEADER_ONLY=ON -DQt5_DIR="/opt/qt55/lib/cmake/Qt5" -DQt5Svg_DIR="/opt/qt55/lib/cmake/Qt5Svg" -DQt5OpenGL_DIR="/opt/qt55/lib/cmake/Qt5OpenGL" -DCMAKE_CXX_FLAGS_RELEASE=-DCGAL_NDEBUG ..
|
- cmake -DCGAL_HEADER_ONLY=ON -DQt5_DIR="/opt/qt55/lib/cmake/Qt5" -DQt5Svg_DIR="/opt/qt55/lib/cmake/Qt5Svg" -DQt5OpenGL_DIR="/opt/qt55/lib/cmake/Qt5OpenGL" -DCMAKE_CXX_FLAGS_RELEASE=-DCGAL_NDEBUG ..
|
||||||
- make
|
- make
|
||||||
- sudo make install &>/dev/null
|
- sudo make install &>/dev/null
|
||||||
- cd ..
|
- cd ..
|
||||||
script:
|
- sudo bash ./.travis/install_openmesh.sh
|
||||||
|
script:
|
||||||
- cd ./.travis
|
- cd ./.travis
|
||||||
- bash -x -e ./build_package.sh $PACKAGE
|
- bash -x -e ./build_package.sh $PACKAGE
|
||||||
addons:
|
addons:
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,6 @@
|
||||||
|
|
||||||
#include <boost/iterator/transform_iterator.hpp>
|
#include <boost/iterator/transform_iterator.hpp>
|
||||||
|
|
||||||
#include <OpenMesh/Core/IO/MeshIO.hh>
|
|
||||||
#include <CGAL/boost/graph/internal/OM_iterator_from_circulator.h>
|
#include <CGAL/boost/graph/internal/OM_iterator_from_circulator.h>
|
||||||
#include <CGAL/boost/graph/iterator.h>
|
#include <CGAL/boost/graph/iterator.h>
|
||||||
#include <CGAL/Iterator_range.h>
|
#include <CGAL/Iterator_range.h>
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
#define CGAL_BOOST_GRAPH_GRAPH_TRAITS_POLYMESH_ARRAYKERNELT_H
|
#define CGAL_BOOST_GRAPH_GRAPH_TRAITS_POLYMESH_ARRAYKERNELT_H
|
||||||
|
|
||||||
// http://openmesh.org/Documentation/OpenMesh-Doc-Latest/classOpenMesh_1_1Concepts_1_1KernelT.html
|
// http://openmesh.org/Documentation/OpenMesh-Doc-Latest/classOpenMesh_1_1Concepts_1_1KernelT.html
|
||||||
|
#include <OpenMesh/Core/IO/MeshIO.hh>
|
||||||
#include <CGAL/boost/graph/properties_PolyMesh_ArrayKernelT.h>
|
#include <CGAL/boost/graph/properties_PolyMesh_ArrayKernelT.h>
|
||||||
#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
|
#include <OpenMesh/Core/Mesh/PolyMesh_ArrayKernelT.hh>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
#define CGAL_BOOST_GRAPH_GRAPH_TRAITS_TRIMESH_ARRAYKERNELT_H
|
#define CGAL_BOOST_GRAPH_GRAPH_TRAITS_TRIMESH_ARRAYKERNELT_H
|
||||||
|
|
||||||
// http://openmesh.org/Documentation/OpenMesh-Doc-Latest/classOpenMesh_1_1Concepts_1_1KernelT.html
|
// http://openmesh.org/Documentation/OpenMesh-Doc-Latest/classOpenMesh_1_1Concepts_1_1KernelT.html
|
||||||
|
#include <OpenMesh/Core/IO/MeshIO.hh>
|
||||||
#include <CGAL/boost/graph/properties_TriMesh_ArrayKernelT.h>
|
#include <CGAL/boost/graph/properties_TriMesh_ArrayKernelT.h>
|
||||||
#include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
|
#include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue