From 5f47f70183612d6a1228e5dd3d97529230fa4b23 Mon Sep 17 00:00:00 2001 From: Alexander Mordvintsev Date: Sun, 27 Jul 2014 18:03:27 +0400 Subject: [PATCH] module blacklist --- modules/python/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/python/CMakeLists.txt b/modules/python/CMakeLists.txt index c41d19a3f..66ac1addd 100644 --- a/modules/python/CMakeLists.txt +++ b/modules/python/CMakeLists.txt @@ -22,8 +22,11 @@ foreach(mp ${OPENCV_MODULES_PATH} ${OPENCV_EXTRA_MODULES_PATH}) endif() endforeach(m) endforeach(mp) + +# module blacklist ocv_list_filterout(candidate_deps "^opencv_cud(a|ev)") ocv_list_filterout(candidate_deps "^opencv_adas$") +ocv_list_filterout(candidate_deps "^opencv_tracking$") ocv_add_module(python BINDINGS OPTIONAL ${candidate_deps}) @@ -40,6 +43,7 @@ foreach(m IN LISTS OPENCV_MODULE_opencv_python_DEPS) list(APPEND opencv_hdrs ${OPENCV_MODULE_${m}_HEADERS}) endforeach(m) +# header blacklist ocv_list_filterout(opencv_hdrs ".h$") ocv_list_filterout(opencv_hdrs "opencv2/core/cuda") ocv_list_filterout(opencv_hdrs "opencv2/objdetect/detection_based_tracker.hpp")