-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
61 lines (46 loc) · 1.51 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
cmake_minimum_required(VERSION 2.8.3)
project(stereo)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(OpenCV REQUIRED
NO_MODULE # should be optional, tells CMake to use config mode
PATHS /usr/local/include # look here
NO_DEFAULT_PATH) # and don't look anywhere else
find_package( CUDA REQUIRED )
find_package(catkin REQUIRED COMPONENTS
cv_bridge
image_transport
message_filters
roscpp
rospy
sensor_msgs
std_msgs
pcl_conversions
pcl_ros roscpp
sensor_msgs
visualization_msgs
)
catkin_package(
)
###########
## Build ##
###########
#include_directories(${OpenCV_INCLUDE_DIRS})
include_directories(
${catkin_INCLUDE_DIRS}
)
## Declare a C++ executable
#add_executable(stereo_node src/stereo_node.cpp)
add_executable(stereo_node_cam src/stereo_node_cam.cpp)
add_executable(stereo_node_recon src/stereo_node_recon.cpp)
add_executable(stereo_node_kitti src/stereo_node_kitti.cpp)
add_executable(flir_node src/flir_node.cpp)
add_executable(capture_images src/capture_images.cpp)
## Specify libraries to link a library or executable target against
#target_link_libraries(stereo_node ${catkin_LIBRARIES})
target_link_libraries(stereo_node_cam ${catkin_LIBRARIES})
target_link_libraries(stereo_node_recon ${catkin_LIBRARIES})
target_link_libraries(stereo_node_kitti ${catkin_LIBRARIES})
target_link_libraries(flir_node ${catkin_LIBRARIES} )
target_link_libraries(capture_images ${catkin_LIBRARIES})