mirror of
https://github.com/opencv/opencv.git
synced 2026-10-28 08:35:30 +08:00
samples: move viz3d sample to samples/ptcloud
This commit is contained in:
1 parent
1ca068e91d
commit
89bff6b47c
3 files changed
+20
No files matched your search
@@ -36,6 +36,7 @@ if(WIN32 AND HAVE_DIRECTX)
|
||||
endif()
|
||||
if((NOT ANDROID) AND HAVE_OPENGL)
|
||||
add_subdirectory(opengl)
|
||||
add_subdirectory(ptcloud)
|
||||
endif()
|
||||
if(UNIX AND NOT ANDROID AND HAVE_VA)
|
||||
add_subdirectory(va_intel)
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
SET(OPENCV_PTCLOUD_SAMPLES_REQUIRED_DEPS
|
||||
opencv_core
|
||||
opencv_imgproc
|
||||
opencv_imgcodecs
|
||||
opencv_highgui
|
||||
opencv_ptcloud)
|
||||
ocv_check_dependencies(${OPENCV_PTCLOUD_SAMPLES_REQUIRED_DEPS})
|
||||
|
||||
if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
|
||||
project(ptcloud_samples)
|
||||
ocv_include_modules_recurse(${OPENCV_PTCLOUD_SAMPLES_REQUIRED_DEPS})
|
||||
file(GLOB all_samples RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
|
||||
foreach(sample_filename ${all_samples})
|
||||
ocv_define_sample(tgt ${sample_filename} ptcloud)
|
||||
ocv_target_link_libraries(${tgt} PRIVATE ${OPENCV_PTCLOUD_SAMPLES_REQUIRED_DEPS})
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
ocv_install_example_src(ptcloud *.cpp CMakeLists.txt)
|
||||
File renamed without changes.
Reference in new issue
Block a user