mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
2aa18ca3e93a1a32fec2c063010b72335ac795e9
When compiling with cmake using -DCMAKE_CXX_STANDARD=11 use `-std=gnu++11` for PCH compiler flags, otherwise it triggers an error: opencv_core_Release.gch: not used because `__cplusplus' defined as ` 201103L' not ` 199711L' [-Winvalid-pch] Use CXX_EXTENSIONS property to select `gnu++11` or `c++11`. Trying to mimic cmake logic here: https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmLocalGenerator.cxx#L1527-1557
OpenCV: Open Source Computer Vision Library
Resources
- Homepage: http://opencv.org
- Docs: http://docs.opencv.org/master/
- Q&A forum: http://answers.opencv.org
- Issue tracking: https://github.com/opencv/opencv/issues
Contributing
Please read the contribution guidelines before starting work on a pull request.
Summary of the guidelines:
- One pull request per issue;
- Choose the right base branch;
- Include tests and documentation;
- Clean up "oops" commits before submitting;
- Follow the coding style guide.
Description
Languages
C++
87.6%
C
3.1%
Python
2.9%
CMake
2%
Java
1.5%
Other
2.7%