|
1 | 1 | cmake_minimum_required(VERSION 2.8.3)
|
2 | 2 | project(boost_python_catkin_example)
|
3 | 3 |
|
4 |
| -## Find catkin macros and libraries |
5 |
| -## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) |
6 |
| -## is used, also find other catkin packages |
7 | 4 | find_package(catkin REQUIRED)
|
8 | 5 |
|
9 |
| -## System dependencies are found with CMake's conventions |
10 | 6 | find_package(Boost REQUIRED COMPONENTS python)
|
11 | 7 | find_package(PythonLibs 2.7 REQUIRED) # sets ${PYTHON_INCLUDE_DIRS}
|
12 | 8 |
|
13 | 9 |
|
14 |
| -## Uncomment this if the package has a setup.py. This macro ensures |
15 |
| -## modules and global scripts declared therein get installed |
16 |
| -## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html |
17 | 10 | catkin_python_setup() # this sets up the path /devel/lib/python2.7/dist-packages/boostpy_test
|
18 | 11 |
|
19 |
| -################################### |
20 |
| -## catkin specific configuration ## |
21 |
| -################################### |
22 |
| -## The catkin_package macro generates cmake config files for your package |
23 |
| -## Declare things to be passed to dependent projects |
24 |
| -## INCLUDE_DIRS: uncomment this if you package contains header files |
25 |
| -## LIBRARIES: libraries you create in this project that dependent projects also need |
26 |
| -## CATKIN_DEPENDS: catkin_packages dependent projects also need |
27 |
| -## DEPENDS: system dependencies of this project that dependent projects also need |
28 |
| -catkin_package( |
29 |
| -# INCLUDE_DIRS include |
30 |
| -# LIBRARIES boostpy_test |
31 |
| -# CATKIN_DEPENDS roscpp rospy |
32 |
| -# DEPENDS system_lib |
33 |
| -) |
| 12 | +catkin_package() |
34 | 13 |
|
35 | 14 | ###########
|
36 | 15 | ## Build ##
|
|
0 commit comments