-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
43 lines (37 loc) · 911 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
cmake_minimum_required(VERSION 2.8.3)
project(mie443_contest2)
set(CMAKE_CXX_FLAGS "-std=c++11")
find_package(OpenCV 3 REQUIRED)
find_package(catkin REQUIRED COMPONENTS
actionlib
move_base_msgs
roscpp
cv_bridge
image_transport
gazebo_ros
)
find_package(orocos_kdl REQUIRED)
catkin_package()
include_directories(include
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS})
# Contest 2 Executable
add_executable(contest2
src/contest2.cpp
src/boxes.cpp
src/navigation.cpp
src/robot_pose.cpp
src/imagePipeline.cpp
src/TSP.cpp
src/NumMatches.cpp
src/control.cpp)
target_link_libraries(contest2
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
orocos-kdl)
# Webcam Publisher Executable
add_executable(webcam_publisher
src/webcam_publisher.cpp)
target_link_libraries(webcam_publisher
${catkin_LIBRARIES}
${OpenCV_LIBRARIES})