-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
40 lines (31 loc) · 1.13 KB
/
CMakeLists.txt
File metadata and controls
40 lines (31 loc) · 1.13 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
set(SUBSYS_NAME 2d)
set(SUBSYS_DESC "Point cloud 2d")
set(SUBSYS_DEPS common filters)
PCL_SUBSYS_OPTION(build "${SUBSYS_NAME}" "${SUBSYS_DESC}" ON)
PCL_SUBSYS_DEPEND(build NAME ${SUBSYS_NAME} DEPS ${SUBSYS_DEPS})
PCL_ADD_DOC("${SUBSYS_NAME}")
if(NOT build)
return()
endif()
set(srcs
src/convolution_2d.cpp
)
set(incs
"include/pcl/${SUBSYS_NAME}/convolution.h"
"include/pcl/${SUBSYS_NAME}/kernel.h"
"include/pcl/${SUBSYS_NAME}/edge.h"
"include/pcl/${SUBSYS_NAME}/morphology.h"
)
set(impl_incs
"include/pcl/${SUBSYS_NAME}/impl/convolution.hpp"
"include/pcl/${SUBSYS_NAME}/impl/kernel.hpp"
"include/pcl/${SUBSYS_NAME}/impl/edge.hpp"
"include/pcl/${SUBSYS_NAME}/impl/morphology.hpp"
)
set(LIB_NAME "pcl_${SUBSYS_NAME}")
PCL_ADD_LIBRARY(${LIB_NAME} COMPONENT ${SUBSYS_NAME} INCLUDES ${incs} ${impl_incs})
target_link_libraries(${LIB_NAME} INTERFACE pcl_filters)
PCL_MAKE_PKGCONFIG(${LIB_NAME} COMPONENT ${SUBSYS_NAME} DESC ${SUBSYS_DESC} PCL_DEPS ${SUBSYS_DEPS} HEADER_ONLY)
#Install include files
PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}" ${incs})
PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}/impl" ${impl_incs})