[opencv] 20/98: include available modules only
Mattia Rizzolo
mattia at debian.org
Tue Oct 4 17:51:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to annotated tag 2.4.13
in repository opencv.
commit 4a8d1147c224214336ddd8bd8671ab7fed95fcab
Author: Alexander Alekhin <alexander.alekhin at itseez.com>
Date: Wed Jan 20 13:06:51 2016 +0300
include available modules only
---
include/opencv2/opencv.hpp | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/include/opencv2/opencv.hpp b/include/opencv2/opencv.hpp
index f89547c..f76da92 100644
--- a/include/opencv2/opencv.hpp
+++ b/include/opencv2/opencv.hpp
@@ -43,19 +43,41 @@
#ifndef __OPENCV_ALL_HPP__
#define __OPENCV_ALL_HPP__
+#include "opencv2/opencv_modules.hpp"
+
#include "opencv2/core/core_c.h"
#include "opencv2/core/core.hpp"
+#ifdef HAVE_OPENCV_FLANN
#include "opencv2/flann/miniflann.hpp"
+#endif
+#ifdef HAVE_OPENCV_IMGPROC
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc.hpp"
+#endif
+#ifdef HAVE_OPENCV_PHOTO
#include "opencv2/photo/photo.hpp"
+#endif
+#ifdef HAVE_OPENCV_VIDEO
#include "opencv2/video/video.hpp"
+#endif
+#ifdef HAVE_OPENCV_FEATURES2D
#include "opencv2/features2d/features2d.hpp"
+#endif
+#ifdef HAVE_OPENCV_OBJDETECT
#include "opencv2/objdetect/objdetect.hpp"
+#endif
+#ifdef HAVE_OPENCV_CALIB3D
#include "opencv2/calib3d/calib3d.hpp"
+#endif
+#ifdef HAVE_OPENCV_ML
#include "opencv2/ml/ml.hpp"
+#endif
+#ifdef HAVE_OPENCV_HIGHGUI
#include "opencv2/highgui/highgui_c.h"
#include "opencv2/highgui/highgui.hpp"
+#endif
+#ifdef HAVE_OPENCV_CONTRIB
#include "opencv2/contrib/contrib.hpp"
+#endif
#endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git
More information about the debian-science-commits
mailing list