forked from pallgeuer/pepper_camera
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
59 lines (51 loc) · 1.03 KB
/
CMakeLists.txt
File metadata and controls
59 lines (51 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
51
52
53
54
55
56
57
58
59
cmake_minimum_required(VERSION 3.0.2)
project(pepper_camera)
find_package(catkin REQUIRED COMPONENTS
roscpp
message_generation
camera_info_manager
image_transport
sensor_msgs
)
find_package(PkgConfig REQUIRED)
pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0)
add_service_files(FILES
Reconfigure.srv
)
generate_messages(DEPENDENCIES
std_msgs
)
catkin_package(
INCLUDE_DIRS
LIBRARIES
CATKIN_DEPENDS
DEPENDS
)
include_directories(
include
server/include
${catkin_INCLUDE_DIRS}
${GSTREAMER_INCLUDE_DIRS}
)
add_library(pepper_camera
src/pepper_camera.cpp
src/pepper_camera_remote.cpp
)
add_dependencies(pepper_camera
${pepper_camera_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
)
add_executable(pepper_camera_node
src/pepper_camera_node.cpp
)
set_target_properties(pepper_camera_node PROPERTIES OUTPUT_NAME node PREFIX "")
add_dependencies(pepper_camera_node
${pepper_camera_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
)
target_link_libraries(pepper_camera_node
pepper_camera
${catkin_LIBRARIES}
${GSTREAMER_LIBRARIES}
)
# EOF