Alexander Alekhin
2a330e3006
cuda: eliminate warnings
7 years ago
Alexander Enaldiev
677dc802ae
protobuf build documenting: move the WITH_PROTOBUF option to the top level
7 years ago
Alexander Alekhin
ef2548778c
build: -Wimplicit-fallthrough warning for GCC 7+ only
7 years ago
Vitaly Tuzov
80600e5cdc
Added DXVA hardware acceleration to MSMF-based VideoCapture
7 years ago
Alexander Alekhin
a2d6fc7ac0
cmake: fix popcnt detection
...
via GCC/Clang __POPCNT__ define
7 years ago
Alexander Alekhin
ff6ce6cd01
cmake: change CPU_BASELINE=DETECT for MacOSX
7 years ago
Maksim Shabunin
abce51fb7b
cmake config: adding fallback to VS 2015 if distribution does not have VS 2017 binaries
7 years ago
Dmitry Kurtaev
bd77d100e1
Enable some tests for clDNN plugin from Intel's Inference Engine
7 years ago
Alexander Alekhin
12e8e33144
build: enable -Wimplicit-fallthrough warning for OpenCV modules
7 years ago
Alexander Alekhin
97882d03cc
core: fix FP16 conversion with CV_DISABLE_OPTIMIZATION option
...
Reproducer:
cmake -DCPU_BASELINE=AVX2 -DCV_DISABLE_OPTIMIZATION=ON ...
7 years ago
Alexander Alekhin
5b867b6f1f
cmake: fix CPU_BASELINE=NATIVE on MSVS
7 years ago
Tomoaki Teshima
a40354d16f
use correct name for NVIDIA
...
* remove NVidia and Nvidia
* replace Cuda with CUDA
* keep the letters for API
7 years ago
Tomoaki Teshima
779a42678d
fix CUDA build crash
...
* add --std=c++11 flag to nvcc definition
* remove not used abs functions
7 years ago
Alexander Alekhin
c6aa97c9aa
next(android): java3 -> java4
7 years ago
Alexander Alekhin
250941bd47
next: drop WITH_CSTRIPES
7 years ago
Alexander Alekhin
d4688e6474
cmake: require C++11 and CMake 3.5.1+
7 years ago
Vladislav Sovrasov
e7e29cb63c
cmake: add compilation test for VTK
7 years ago
Alexander Alekhin
5e03011496
cmake: fix Ninja generator warning about pylintrc
...
CMake generated files is a part of target depends list.
Details: `cmake --help-policy CMP0058`
7 years ago
Alexander Alekhin
784c8436fd
cmake: update PDB installation
7 years ago
Vladislav Sovrasov
0d9c63744e
Add CPU default extensions loading in IE dnn backend ( #11252 )
...
* Add CPU default extensions loading in IE dnn backend
* Load cpu_extensions for the future Intel's Inference Engine
7 years ago
Maksim Shabunin
b88609a921
Reduced direct TBB dependencies
7 years ago
Alexander Alekhin
4990506948
cuda: WITH_CUDA=OFF by default (need to enable it explicitly)
7 years ago
Alexander Alekhin
6abfc6761e
android: refactor Android SDK detection
...
- properly detect Android SDK support of Ant/Gradle projects
- divide processing of And/Gradle based projects
7 years ago
Alexander Alekhin
87498bc6d4
cmake: workaround CPATH ipp_iw issue
...
CPATH entries are processed before any -isystem:
https://gcc.gnu.org/onlinedocs/cpp/Environment-Variables.html
7 years ago
Alexander Alekhin
0ede1b5b22
cmake: enable override warnings (requires C++11 compilation mode)
7 years ago
Alexander Alekhin
6c8014e7d1
cmake: disable checks for protobuf generated files
7 years ago
Alexander Alekhin
6bd80ba71b
cmake: use SYSTEM include directories
7 years ago
Dmitry Kurtaev
2f3a9ba1d4
Update OpenCVDetectInferenceEngine.cmake
7 years ago
Alexander Alekhin
5da7805623
cmake: add module/src include dir in case of enabled precompiled headers
7 years ago
Alexander Alekhin
08941b7890
cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars
...
- Recommended compiler checks:
- GCC: CV_GCC
- Clang: CV_CLANG
- fixed problem with CMAKE_CXX_COMPILER_ID=Clang/AppleClang mess on MacOSX
Details: cmake --help-policy CMP0025
- do not declare Clang as GCC compiler
7 years ago
Alexander Alekhin
6c051a55e5
cmake: don't add include <module>/src directory to avoid conflicts
...
during opencv_world builds
7 years ago
Alexander Alekhin
1e808a495d
cmake: fix android examples dependencies
...
add_dependencies(${target}) doesn't control regeneration of .apk file,
because "${target}" is dummy target.
7 years ago
Sonny Kurniawan
c11eaeec49
Help Cmake find OpenNI2 include path
...
When compiling with OpenNI2 flag active, CMake will not be able to find OpenNI.h due to the environment path not set in OpenCVFindOpenNI2.cmake. This PR rectifies this issue.
7 years ago
jchazalon
bf5f7380cf
Update OpenCVDownload.cmake to fix log crash
...
This suppresses the interpretation of string literals by switching the ocv_download_log from a macro to a function.
This avoid crashes when the string to log contains escape characters.
More details about the problem this PR fixes are available at: https://github.com/opencv/opencv_contrib/issues/1131
7 years ago
Maksim Shabunin
265f335dae
Add install component for 3rdparty libraries licenses
7 years ago
Maksim Shabunin
7bbe002a2f
Add install component for 3rdparty libraries licenses
7 years ago
Alexander Alekhin
4a6d582f2e
dnn: make OpenCL DNN code optional
7 years ago
Alexander Alekhin
1b83bc48a1
dnn: make OpenCL DNN code optional
7 years ago
Alexander Alekhin
0b4428e92f
cmake: AVX512 with clang
7 years ago
Maksim Shabunin
f0c0e0c6fa
CPU dispatching: additional AVX-512 check for mingw-w64
7 years ago
Maksim Shabunin
3fd2384b81
Fixed mingw compilation on Windows
7 years ago
Alexander Alekhin
ddb482b14a
android: move .a files into 'staticlibs' directory
...
to reduce overhead of gradle builds
7 years ago
Alexander Alekhin
36f11a54e1
cmake: customize OpenCV build via CMake script hooks
7 years ago
Alexander Alekhin
95014f311d
cmake: debug info
7 years ago
Maksim Shabunin
2d1350a9d6
Added group targets for samples (opencv_samples, opencv_samples_<group>), install samples/data inseparate component 'samples_data'
7 years ago
Maksim Shabunin
2200e13c71
cmake: refactored scripts with samples building:
...
- allow installing samples sources on all platforms
even if BUILD_EXAMPLES is disabled, fixed minor
issues in sources installation process
- use 'example_<group>_<name>' scheme for target and binary file naming
- use single function for sample executable creation
7 years ago
Alexander Alekhin
14032c6653
cmake: reset __content variable if file doesn't exist
...
Resolves CMake error after relaunch with updated source code:
Cannot find source file:
modules/dnn/layers/layers_common.avx512_skx.cpp
7 years ago
Alexander Alekhin
5a791e6e06
cmake: update reporting of excluded dispatching files ( #10711 )
...
* cmake: add ocv_get_smart_file_name() macro
* cmake: avoid adding files for unavailable dispatch modes
7 years ago
Fangjun Kuang
2f3d4df2f2
improve the doc for the viz module.
7 years ago
Alexander Alekhin
65ba2e0adf
cmake: update adding of extra compiler flags
...
Read flags from 'cache' instead of resetting them
7 years ago