File: CMakeLists.txt

package info (click to toggle)
pcl 1.15.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 143,128 kB
  • sloc: cpp: 520,234; xml: 28,792; ansic: 8,212; python: 334; lisp: 93; sh: 49; makefile: 30
file content (16 lines) | stat: -rw-r--r-- 670 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set(SUBSYS_NAME tests_kdtree)
set(SUBSYS_DESC "Point cloud library kdtree module unit tests")
PCL_SET_TEST_DEPENDENCIES(SUBSYS_DEPS kdtree)
set(OPT_DEPS io) # io is not a mandatory dependency in kdtree

PCL_SUBSYS_OPTION(build "${SUBSYS_NAME}" "${SUBSYS_DESC}" ON)
PCL_SUBSYS_DEPEND(build NAME ${SUBSYS_NAME} DEPS ${SUBSYS_DEPS} OPT_DEPS ${OPT_DEPS})

if(NOT (build AND BUILD_io))
  return()
endif()

PCL_ADD_TEST (kdtree_kdtree test_kdtree
              FILES test_kdtree.cpp
              LINK_WITH pcl_gtest pcl_kdtree pcl_io pcl_common
              ARGUMENTS "${PCL_SOURCE_DIR}/test/sac_plane_test.pcd" "${PCL_SOURCE_DIR}/test/kdtree/kdtree_unit_test_results.xml")