officinerobotiche / ros_orbus_interface

Interface to control all board with orbus. uNav, RoboController, Motion Controller, ...
http://www.officinerobotiche.it
5 stars 4 forks source link

How to use install on catkin? #3

Closed rbonghi closed 8 years ago

rbonghi commented 9 years ago

I would like to understand on CMakeList.txt, the options about install:

#############
## Install ##
#############

# all install targets should use catkin DESTINATION variables
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html

## Mark executable scripts (Python etc.) for installation
## in contrast to setup.py, you can choose the destination
# install(PROGRAMS
#   scripts/my_python_script
#   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )

## Mark executables and/or libraries for installation
# install(TARGETS serial_bridge serial_bridge_node
#   ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
#   LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
#   RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
# )

## Mark cpp header files for installation
# install(DIRECTORY include/${PROJECT_NAME}/
#   DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
#   FILES_MATCHING PATTERN "*.h"
#   PATTERN ".svn" EXCLUDE
# )

## Mark other files for installation (e.g. launch and bag files, etc.)
# install(FILES
#   # myfile1
#   # myfile2
#   DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
# )

@Myzhar do you have any ideas about this?

Myzhar commented 9 years ago

I think that this is useful only when releasing the stack under the ROS repo. I have not explored this part too much in deep.

rbonghi commented 9 years ago

:+1:

rbonghi commented 8 years ago

http://wiki.ros.org/catkin/CMakeLists.txt fixed in commit 41ccc2098ea6bf4d62e2541a115169ae17be04e8