pre: OpenCV 4.1.2 (version++)
[platform/upstream/opencv.git] / modules / core / include / opencv2 / core / version.hpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html.
4
5 #ifndef OPENCV_VERSION_HPP
6 #define OPENCV_VERSION_HPP
7
8 #define CV_VERSION_MAJOR    4
9 #define CV_VERSION_MINOR    1
10 #define CV_VERSION_REVISION 2
11 #define CV_VERSION_STATUS   "-pre"
12
13 #define CVAUX_STR_EXP(__A)  #__A
14 #define CVAUX_STR(__A)      CVAUX_STR_EXP(__A)
15
16 #define CVAUX_STRW_EXP(__A)  L ## #__A
17 #define CVAUX_STRW(__A)      CVAUX_STRW_EXP(__A)
18
19 #define CV_VERSION          CVAUX_STR(CV_VERSION_MAJOR) "." CVAUX_STR(CV_VERSION_MINOR) "." CVAUX_STR(CV_VERSION_REVISION) CV_VERSION_STATUS
20
21 /* old  style version constants*/
22 #define CV_MAJOR_VERSION    CV_VERSION_MAJOR
23 #define CV_MINOR_VERSION    CV_VERSION_MINOR
24 #define CV_SUBMINOR_VERSION CV_VERSION_REVISION
25
26 #endif // OPENCV_VERSION_HPP