File: CMakeLists.txt

package info (click to toggle)
pcl 1.9.1%2Bdfsg1-10
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 141,836 kB
  • sloc: cpp: 521,679; xml: 28,792; ansic: 13,915; python: 538; lisp: 93; makefile: 77; sh: 27
file content (55 lines) | stat: -rw-r--r-- 1,955 bytes parent folder | download
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
set(SUBSYS_NAME tests_geometry)
set(SUBSYS_DESC "Point cloud library geometry module unit tests")
PCL_SET_TEST_DEPENDENCIES(SUBSYS_DEPS geometry)

set(DEFAULT ON)
set(build TRUE)
PCL_SUBSYS_OPTION(build "${SUBSYS_NAME}" "${SUBSYS_DESC}" ${DEFAULT} "${REASON}")
PCL_SUBSYS_DEPEND(build "${SUBSYS_NAME}" DEPS ${SUBSYS_DEPS} OPT_DEPS ${OPT_DEPS})

if (build)
  PCL_ADD_TEST(geometry_iterator test_iterator
               FILES test_iterator.cpp
               LINK_WITH pcl_gtest pcl_common)

  PCL_ADD_TEST(geometry_mesh_circulators test_mesh_circulators
               FILES test_mesh_circulators.cpp
               LINK_WITH pcl_gtest)

  PCL_ADD_TEST(geometry_mesh_conversion test_mesh_conversion
               FILES test_mesh_conversion.cpp
               LINK_WITH pcl_gtest pcl_common)

  PCL_ADD_TEST(geometry_mesh_data test_mesh_data
               FILES test_mesh_data.cpp
               LINK_WITH pcl_gtest)

  PCL_ADD_TEST(geometry_mesh_get_boundary test_mesh_get_boundary
               FILES test_mesh_get_boundary.cpp
               LINK_WITH pcl_gtest)

  PCL_ADD_TEST(geometry_mesh_indices test_mesh_indices
               FILES test_mesh_indices.cpp
               LINK_WITH pcl_gtest)

  add_definitions(-DPCL_TEST_GEOMETRY_BINARY_DIR="${CMAKE_CURRENT_BINARY_DIR}")
  PCL_ADD_TEST(geometry_mesh_io test_mesh_io
               FILES test_mesh_io.cpp
               LINK_WITH pcl_gtest)

  PCL_ADD_TEST(geometry_mesh test_mesh
               FILES test_mesh.cpp test_mesh_common_functions.h
               LINK_WITH pcl_gtest)

  PCL_ADD_TEST(geometry_polygon_mesh test_polygon_mesh
               FILES test_polygon_mesh.cpp
               LINK_WITH pcl_gtest)

  PCL_ADD_TEST(geometry_quad_mesh test_quad_mesh
               FILES test_quad_mesh.cpp
               LINK_WITH pcl_gtest)

  PCL_ADD_TEST(geometry_triangle_mesh test_triangle_mesh
               FILES test_triangle_mesh.cpp
               LINK_WITH pcl_gtest)
endif (build)