mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
4dbd0f0e8f
* disabled warnings from thrust * fixed warnings from ts_gtest.h * possibly fixed superres compilation in Debug mode on Windows
31 lines
721 B
C++
31 lines
721 B
C++
#ifdef __GNUC__
|
|
# pragma GCC diagnostic ignored "-Wmissing-declarations"
|
|
# if defined __clang__ || defined __APPLE__
|
|
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
|
|
# pragma GCC diagnostic ignored "-Wextra"
|
|
# endif
|
|
#endif
|
|
|
|
#ifndef __OPENCV_PERF_PRECOMP_HPP__
|
|
#define __OPENCV_PERF_PRECOMP_HPP__
|
|
|
|
#include "opencv2/ts/ts.hpp"
|
|
|
|
#include "opencv2/nonfree/nonfree.hpp"
|
|
#include "opencv2/highgui/highgui.hpp"
|
|
#include "opencv2/opencv_modules.hpp"
|
|
|
|
#ifdef HAVE_OPENCV_OCL
|
|
# include "opencv2/nonfree/ocl.hpp"
|
|
#endif
|
|
|
|
#ifdef HAVE_OPENCV_GPU
|
|
# include "opencv2/nonfree/gpu.hpp"
|
|
#endif
|
|
|
|
#ifdef GTEST_CREATE_SHARED_LIBRARY
|
|
#error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined
|
|
#endif
|
|
|
|
#endif
|