Merge pull request #13069 from alalek:move_viz_contrib

This commit is contained in:
Alexander Alekhin
2018-11-08 19:04:31 +03:00
committed by GitHub
68 changed files with 0 additions and 16645 deletions
-9
View File
@@ -28,17 +28,8 @@ file(GLOB_RECURSE cpp_samples RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
if(NOT HAVE_opencv_cudaarithm OR NOT HAVE_opencv_cudafilters)
ocv_list_filterout(cpp_samples "/gpu/")
endif()
if(NOT BUILD_opencv_viz OR NOT VTK_USE_FILE)
ocv_list_filterout(cpp_samples "/viz/")
endif()
ocv_list_filterout(cpp_samples "real_time_pose_estimation/")
foreach(sample_filename ${cpp_samples})
if(sample_filename MATCHES "/viz/")
include(${VTK_USE_FILE})
if(COMMAND ocv_warnings_disable) # eliminate warnings from VTK headers (include directory is not "SYSTEM")
ocv_warnings_disable(CMAKE_CXX_FLAGS -Winconsistent-missing-override -Wsuggest-override)
endif()
endif()
set(package "cpp")
if(sample_filename MATCHES "tutorial_code")
set(package "tutorial")