-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
47 lines (33 loc) · 1.57 KB
/
Copy pathCMakeLists.txt
File metadata and controls
47 lines (33 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Catkin User Guide: http://www.ros.org/doc/groovy/api/catkin/html/user_guide/user_guide.html
# Catkin CMake Standard: http://www.ros.org/doc/groovy/api/catkin/html/user_guide/standards.html
cmake_minimum_required(VERSION 3.0.2)
project(sr_ethercat_hand_config)
# Load catkin and all dependencies required for this package
find_package(catkin REQUIRED )
# catkin_package parameters: http://ros.org/doc/groovy/api/catkin/html/dev_guide/generated_cmake_api.html#catkin-package
catkin_package()
#############
## 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
file(GLOB SCRIPTS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}"
"${CMAKE_CURRENT_SOURCE_DIR}/demos/*")
install(PROGRAMS ${SCRIPTS}
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
install(DIRECTORY calibrations/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/calibrations)
install(DIRECTORY controls/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/controls)
install(DIRECTORY demos/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/mappings)
install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch)
install(DIRECTORY rates/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/rates)
install(FILES diagnostic_analyzer.yaml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(FILES diagnostic_analyzer_bimanual.yaml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})