Skip to content
Snippets Groups Projects
CMakeLists.txt 875 B
Newer Older
cmake_minimum_required(VERSION 2.8.3)
project(ur_driver)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
ipa-fxm's avatar
ipa-fxm committed
find_package(catkin REQUIRED COMPONENTS dynamic_reconfigure)
generate_dynamic_reconfigure_options(
  cfg/URDriver.cfg
)

###################################
## catkin specific configuration ##
###################################
ipa-fxm's avatar
ipa-fxm committed
catkin_package(
    CATKIN_DEPENDS dynamic_reconfigure
)
install(PROGRAMS test_move.py test_io.py
ipa-fxm's avatar
ipa-fxm committed
   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

install(PROGRAMS src/ur_driver/driver.py
   DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
ipa-fxm's avatar
ipa-fxm committed
install(FILES prog prog_reset
ipa-fxm's avatar
ipa-fxm committed
  DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)