-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
50 lines (38 loc) · 1.03 KB
/
CMakeLists.txt
File metadata and controls
50 lines (38 loc) · 1.03 KB
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
cmake_minimum_required(VERSION 3.0.2)
project(ball_follower_turtle_cpp)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
roscpp
rospy
sensor_msgs
)
find_package(OpenCV REQUIRED)
catkin_package(
)
## Specify additional locations of header files
## Your package locations should be listed before other locations
include_directories(
# include
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
)
add_executable(lemniscate_video_node src/ball_motion_movie.cpp)
target_link_libraries(lemniscate_video_node
${catkin_LIBRARIES}
${OpenCV_LIBS}
)
add_executable(publish_video_feed src/publish_video_feed.cpp)
target_link_libraries(publish_video_feed
${catkin_LIBRARIES}
${OpenCV_LIBS}
)
add_executable(ball_pose_publisher src/ball_pose_publisher.cpp)
target_link_libraries(ball_pose_publisher
${catkin_LIBRARIES}
${OpenCV_LIBS}
)
add_executable(turtle_controller src/turtle_controller.cpp)
target_link_libraries(turtle_controller
${catkin_LIBRARIES}
${OpenCV_LIBS}
)