File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
src/boost_python_catkin_example Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ find_package(PythonLibs 2.7 REQUIRED) # sets ${PYTHON_INCLUDE_DIRS}
16
16
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
17
17
catkin_python_setup () # this sets up the path /devel/lib/python2.7/dist-packages/boostpy_test
18
18
19
-
20
19
###################################
21
20
## catkin specific configuration ##
22
21
###################################
@@ -33,6 +32,9 @@ catkin_package(
33
32
# DEPENDS system_lib
34
33
)
35
34
35
+ catkin_install_python (PROGRAMS scripts/use_cpplib.py
36
+ DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION} )
37
+
36
38
###########
37
39
## Build ##
38
40
###########
@@ -59,4 +61,11 @@ set_target_properties(mycpplib PROPERTIES
59
61
target_link_libraries (mycpplib
60
62
${catkin_LIBRARIES}
61
63
${Boost_LIBRARIES}
64
+
62
65
)
66
+
67
+ install (TARGETS mycpplib
68
+ ARCHIVE DESTINATION ${CATKIN_PACKAGE_PYTHON_DESTINATION}
69
+ LIBRARY DESTINATION ${CATKIN_PACKAGE_PYTHON_DESTINATION}
70
+ )
71
+
You can’t perform that action at this time.
0 commit comments