-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
44 lines (36 loc) · 1.15 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
cmake_minimum_required(VERSION 2.8.3)
project(remote_monitor)
find_package(catkin REQUIRED COMPONENTS
roscpp
cv_bridge
geometry_msgs
nav_msgs
sensor_msgs
tf
cirkit_waypoint_navigator
)
find_package(OpenCV REQUIRED)
find_package(Boost REQUIRED COMPONENTS system)
catkin_package(
CATKIN_DEPENDS roscpp cv_bridge geometry_msgs nav_msgs sensor_msgs tf cirkit_waypoint_navigator
DEPENDS OpenCV Boost
)
###########
## Build ##
###########
include_directories(
${catkin_INCLUDE_DIRS}
)
add_executable(remote_monitor_server src/monitor_server.cpp)
add_dependencies(remote_monitor_server ${catkin_EXPORTED_TARGETS})
target_link_libraries(remote_monitor_server ${catkin_LIBRARIES} ${OpenCV_LIBS})
add_executable(remote_monitor_client src/monitor_client.cpp)
add_dependencies(remote_monitor_client ${catkin_EXPORTED_TARGETS})
target_link_libraries(remote_monitor_client ${catkin_LIBRARIES} ${OpenCV_LIBS})
##########
## Test ##
##########
#find_package(roslaunch)
#roslaunch_add_file_check(test/remote_monitor_client.test.xml)
#roslaunch_add_file_check(test/remote_monitor_server.test.xml)
#roslaunch_add_file_check(test/remote_monitor_server_gazebo.test.xml)