Commit 24bbdeb0 authored by Alexander Alekhin's avatar Alexander Alekhin

include available modules only

parent 347ffbb0
...@@ -43,16 +43,38 @@ ...@@ -43,16 +43,38 @@
#ifndef __OPENCV_ALL_HPP__ #ifndef __OPENCV_ALL_HPP__
#define __OPENCV_ALL_HPP__ #define __OPENCV_ALL_HPP__
#include "opencv2/opencv_modules.hpp"
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#ifdef HAVE_OPENCV_IMGPROC
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
#endif
#ifdef HAVE_OPENCV_PHOTO
#include "opencv2/photo.hpp" #include "opencv2/photo.hpp"
#endif
#ifdef HAVE_OPENCV_VIDEO
#include "opencv2/video.hpp" #include "opencv2/video.hpp"
#endif
#ifdef HAVE_OPENCV_FEATURES2D
#include "opencv2/features2d.hpp" #include "opencv2/features2d.hpp"
#endif
#ifdef HAVE_OPENCV_OBJDETECT
#include "opencv2/objdetect.hpp" #include "opencv2/objdetect.hpp"
#endif
#ifdef HAVE_OPENCV_CALIB3D
#include "opencv2/calib3d.hpp" #include "opencv2/calib3d.hpp"
#endif
#ifdef HAVE_OPENCV_IMGCODECS
#include "opencv2/imgcodecs.hpp" #include "opencv2/imgcodecs.hpp"
#endif
#ifdef HAVE_OPENCV_VIDEOIO
#include "opencv2/videoio.hpp" #include "opencv2/videoio.hpp"
#endif
#ifdef HAVE_OPENCV_HIGHGUI
#include "opencv2/highgui.hpp" #include "opencv2/highgui.hpp"
#endif
#ifdef HAVE_OPENCV_ML
#include "opencv2/ml.hpp" #include "opencv2/ml.hpp"
#endif
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment