1 #ifdef __GNUC__
2 #  pragma GCC diagnostic ignored "-Wmissing-declarations"
3 #  if defined __clang__ || defined __APPLE__
4 #    pragma GCC diagnostic ignored "-Wmissing-prototypes"
5 #    pragma GCC diagnostic ignored "-Wextra"
6 #  endif
7 #endif
8 
9 #ifndef __OPENCV_PERF_PRECOMP_HPP__
10 #define __OPENCV_PERF_PRECOMP_HPP__
11 
12 #include "opencv2/ts.hpp"
13 #include "opencv2/objdetect.hpp"
14 #include "opencv2/highgui.hpp"
15 
16 #ifdef GTEST_CREATE_SHARED_LIBRARY
17 #error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined
18 #endif
19 
20 #endif
21