-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCMakeLists.txt
45 lines (36 loc) · 972 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
44
45
cmake_minimum_required(VERSION 3.5)
project(galaxy_camera)
set(CMAKE_CXX_STANDARD 11)
find_package(catkin REQUIRED COMPONENTS
roscpp
nodelet
message_generation
dynamic_reconfigure
image_transport
camera_info_manager
rm_msgs
)
generate_dynamic_reconfigure_options(
cfg/camera.cfg
)
catkin_package(
LIBRARIES galaxy_camera
CATKIN_DEPENDS nodelet roscpp dynamic_reconfigure
image_transport camera_info_manager
)
include_directories(
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
include/
./
)
add_library(galaxy_camera
src/galaxy_camera.cpp
)
target_link_libraries(galaxy_camera
gxiapi ${catkin_LIBRARIES})
add_executable(galaxy_camera_node
src/galaxy_camera_node.cpp)
add_dependencies(galaxy_camera_node ${PROJECT_NAME}_gencfg)
target_link_libraries(galaxy_camera_node
gxiapi ${catkin_LIBRARIES})