-
Notifications
You must be signed in to change notification settings - Fork 70
/
CMakeLists.txt
45 lines (36 loc) · 1.19 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
cmake_minimum_required(VERSION 2.8.3)
project(kobuki_ftdi)
find_package(catkin REQUIRED COMPONENTS ecl_command_line)
# pkg-config packages
find_package(PkgConfig)
pkg_search_module(REQUIRED libusb)
pkg_search_module(REQUIRED libftdi)
catkin_package(
INCLUDE_DIRS include
LIBRARIES kobuki_ros kobuki_nodelet
CATKIN_DEPENDS ecl_command_line
DEPENDS libusb libftdi
)
include_directories(include ${catkin_INCLUDE_DIRS})
add_subdirectory(src)
install(DIRECTORY bluetooth
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(DIRECTORY eeproms
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(PROGRAMS scripts/turtlebot_config
scripts/create_udev_rules
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
install(FILES 57-kobuki.rules
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
# This has issues....hydro doing th same thing will result in
# a file conflict. We could call it 57-groovy-kobuki.rules and
# 57-hydro-kobuki.rules. But that seems kind of lame and could
# break things if they are actually different (which should
# be called - udev will have no idea).
#install(FILES 57-kobuki.rules
# DESTINATION /etc/udev/rules.d/
#)