-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
68 lines (51 loc) · 1.24 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
60
61
62
63
64
65
66
67
cmake_minimum_required(VERSION 3.0.2)
project(grasping_vision)
## Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++14)
find_package(catkin REQUIRED COMPONENTS
roscpp
pcl_ros
pcl_conversions
std_msgs
the_mainest
# cv_bridge
# image_transport
)
# find_package(OpenCV REQUIRED)
find_package(PCL REQUIRED)
find_package(Eigen3 REQUIRED NO_MODULE)
catkin_package(
INCLUDE_DIRS
LIBRARIES
CATKIN_DEPENDS roscpp std_msgs the_mainest
# DEPENDS the_mainest
)
include_directories(
# include
${catkin_INCLUDE_DIRS}
# ${OpenCV_INCLUDE_DIRS}
)
add_executable(get_obb src/get_obb.cpp)
add_executable(plane_segment src/plane_segment.cpp)
add_executable(visualize_obb src/visualize_obb.cpp)
target_link_libraries(get_obb
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${EIGEN_LIBRARIES}
# ${OpenCV_LIBS}
)
add_dependencies(get_obb ${catkin_EXPORTED_TARGETS})
target_link_libraries(plane_segment
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${EIGEN_LIBRARIES}
# ${OpenCV_LIBS}
)
add_dependencies(plane_segment ${catkin_EXPORTED_TARGETS})
target_link_libraries(visualize_obb
${catkin_LIBRARIES}
${PCL_LIBRARIES}
${EIGEN_LIBRARIES}
# ${OpenCV_LIBS}
)
add_dependencies(visualize_obb ${catkin_EXPORTED_TARGETS})