forked from cagataysari/yostlab_imu
-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
48 lines (37 loc) · 1.14 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
48
cmake_minimum_required(VERSION 2.8.3)
project(y3space_driver)
add_compile_options(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
roscpp
rospy
sensor_msgs
serial
std_msgs)
find_package(Boost REQUIRED COMPONENTS system)
###################
## catkin Config ##
###################
include_directories(include/y3space_driver)
catkin_package(CATKIN_DEPENDS geometry_msgs
roscpp
rospy
sensor_msgs
serial
std_msgs)
###########
## Build ##
###########
include_directories(
INCLUDE_DIRS include
${BOOST_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS})
add_library(serial_interface
src/y3space_driver/SerialInterface.cpp)
add_executable(y3space_driver
src/y3space_driver/Y3SpaceDriver.cpp
src/y3space_driver/main.cpp)
target_link_libraries(y3space_driver
serial_interface
${catkin_LIBRARIES}
${Boost_LIBRARIES})