File tree Expand file tree Collapse file tree 5 files changed +90
-0
lines changed
plane_segmentation/cgal5_ament Expand file tree Collapse file tree 5 files changed +90
-0
lines changed Original file line number Diff line number Diff line change 1+ # Prerequisites
2+ * .d
3+
4+ # Compiled Object files
5+ * .slo
6+ * .lo
7+ * .o
8+ * .obj
9+
10+ # Precompiled Headers
11+ * .gch
12+ * .pch
13+
14+ # Compiled Dynamic libraries
15+ * .so
16+ * .dylib
17+ * .dll
18+
19+ # Fortran module files
20+ * .mod
21+ * .smod
22+
23+ # Compiled Static libraries
24+ * .lai
25+ * .la
26+ * .a
27+ * .lib
28+
29+ # Executables
30+ * .exe
31+ * .out
32+ * .app
Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.14)
2+ project (cgal5_ament)
3+
4+ # Use ament for ROS2
5+ find_package (ament_cmake REQUIRED)
6+
7+ include (ExternalProject)
8+
9+ set (VERSION 5.3)
10+
11+ file (MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /include )
12+
13+ set (CGAL_VERSION 5.3)
14+ ExternalProject_Add(cgal
15+ URL https://github.com/CGAL/cgal/archive/refs/tags/v${CGAL_VERSION} .tar.gz
16+ UPDATE_COMMAND ""
17+ CMAKE_ARGS
18+ -DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}
19+ -DCMAKE_BUILD_TYPE:STRING =Release
20+ BUILD_COMMAND $(MAKE)
21+ INSTALL_COMMAND $(MAKE) install
22+ )
23+
24+ ament_export_include_directories(${CMAKE_CURRENT_BINARY_DIR} /include )
25+
26+ install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} /include /CGAL/
27+ DESTINATION include /CGAL/
28+ )
29+
30+ ament_package()
Original file line number Diff line number Diff line change 1+ # cgal5_catkin
2+
3+ Catkin wrapper of the Computational Geometry Algorithms Library (CGAL)
Original file line number Diff line number Diff line change 1+ # Makes CGAL/find___.cmake available
2+ list (APPEND CMAKE_MODULE_PATH @CATKIN_DEVEL_PREFIX@/lib/cmake/CGAL)
3+
4+ # Cpp standard version
5+ set (CMAKE_CXX_STANDARD 14)
6+ set (CMAKE_CXX_STANDARD_REQUIRED ON )
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <package format =" 2" >
3+ <name >cgal5_ament</name >
4+ <version >0.0.1</version >
5+ <description >ROS2 package integrating CGAL</description >
6+ <
maintainer email =
" [email protected] " >Lorenzo Terenzi</
maintainer >
7+ <license >BSD-3-Clause</license >
8+
9+ <!-- Buildtool dependencies -->
10+ <buildtool_depend >ament_cmake</buildtool_depend >
11+
12+ <!-- Build dependencies -->
13+ <depend >Boost</depend >
14+
15+ <!-- Export dependencies -->
16+ <export >
17+ <build_type >ament_cmake</build_type >
18+ </export >
19+ </package >
You can’t perform that action at this time.
0 commit comments