-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
30 lines (25 loc) · 875 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
cmake_minimum_required(VERSION 2.8.3)
project(ucf_gatefindtest)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
roscpp
rospy
std_msgs
sensor_msgs
geometry_msgs
cv_bridge
image_transport
actionlib
move_base_msgs
)
find_package(OpenCV 2.4.8 EXACT REQUIRED)
catkin_package()
include_directories(include ${catkin_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS} "src")
add_executable(find_gate src/gate_search.cpp)
add_executable(turtlebot_drive src/turtlebot_drive.cpp)
add_executable(turtlebot_cmd_vel src/turtlebot_cmd_vel.cpp)
target_link_libraries(find_gate ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
target_link_libraries(turtlebot_drive ${catkin_LIBRARIES})
target_link_libraries(turtlebot_cmd_vel ${catkin_LIBRARIES})