-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
57 lines (47 loc) · 969 Bytes
/
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
49
50
51
52
53
54
55
56
cmake_minimum_required(VERSION 2.8.3)
project(vis_pose_test)
find_package(
catkin REQUIRED
roscpp
geometry_msgs
std_msgs
cv_bridge
genmsg
image_transport
sensor_msgs
control_toolbox
camera_info_manager
mavros
rosbag
)
set(CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}")
catkin_package(
INCLUDE_DIRS include
CATKIN_DEPENDS
roscpp
geometry_msgs
std_msgs
cv_bridge
genmsg
image_transport
sensor_msgs
control_toolbox
camera_info_manager
mavros
DEPENDS Boost mavlink
)
catkin_package(
DEPENDS Boost mavlink
)
include_directories(
include
${catkin_INCLUDE_DIRS}
${mavlink_INCLUDE_DIRS}
)
link_directories(
lib/x86_64
)
add_executable(rc_joystick src/rc_joystick.cpp)
target_link_libraries(rc_joystick ${catkin_LIBRARIES})
add_executable(vis_pose_test src/vis_pose_test.cpp src/locator.cpp src/controller.cpp src/kinematics.cpp)
target_link_libraries(vis_pose_test ${catkin_LIBRARIES})