-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
47 lines (41 loc) · 1.26 KB
/
CMakeLists.txt
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
45
46
47
cmake_minimum_required(VERSION 3.0.2)
cmake_policy(SET CMP0003 NEW)
cmake_policy(SET CMP0057 NEW)
project(irsl_choreonoid_ros)
#add_compile_options(-std=c++17)
#set(CMAKE_BUILD_TYPE RelWithDebInfo)
find_package(catkin REQUIRED)
# find_package(choreonoid_ros REQUIRED)
catkin_package(
DEPENDS
INCLUDE_DIRS
LIBRARIES
CATKIN_DEPENDS
)
# for python module
catkin_python_setup()
install(DIRECTORY config
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
)
install(DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
)
install(DIRECTORY sample
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
)
#
install(DIRECTORY python
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
install(DIRECTORY node
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)
install(DIRECTORY scripts
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
)