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
Dmitry Kurtaev
7fe97376c2
MobileNet-SSD from TensorFlow 1.3 and Inception-V2-SSD using Inference Engine backend
7 years ago
luz.paz
413fba14ab
Some mist. typo fixes
...
Found via `codespell -i 3 -w --skip="./3rdparty" -I ../opencv-whitelist.txt`
7 years ago
Dmitry Kurtaev
ed94136548
OpenCV face detection network using Inference Engine backend
7 years ago
Dmitry Kurtaev
10e1de74d2
Intel Inference Engine deep learning backend ( #10608 )
...
* Intel Inference Engine deep learning backend.
* OpenFace network using Inference Engine backend
7 years ago
Suleyman TURKMEN
3b191bf2dd
update CMakeList.txt
7 years ago
Maksim Shabunin
108d07c655
TBB: added workaround for linking issue with conflicting system and custom libraries
7 years ago
Maksim Shabunin
34a9ce6eb3
cmake: support searching for TBB via cmake package mechanism
7 years ago
Alexander Alekhin
3d6659112f
cmake: fix includes processing
7 years ago
Maksim Shabunin
7eb37bd1dd
Fixed components INTERFACE_INCLUDE_DIRECTORY property in "world" builds
7 years ago
Maksim Shabunin
60f1c9dcdf
Do not enable LTO flags for MSVC debug configuration
7 years ago
Maksim Shabunin
82aff110b7
cmake: allow providing list of extra modules paths
7 years ago
Maksim Shabunin
e56d6054aa
Do not build protobuf without dnn ( #10689 )
...
* Do not build protobuf if dnn is disabled
* Added BUILD_LIST cmake option to the cache
* Moved protobuf to the top level
* Fixed static build
* Fixed world build
* fixup! Fixed world build
7 years ago
Alexander Alekhin
01f4a173ab
opencv_version: dump OpenCL information via opencv_version
...
fix missing "opencv2/core/opencl" headers from core module (updated install list)
7 years ago
Alexander Alekhin
73891d619a
Merge pull request #10700 from alalek:cpu_dispatch_axv512
...
* cmake: enable CPU dispatching for AVX512 (SKX)
* cmake: update handling of unsupported flags/modes
7 years ago
Maksim Shabunin
74367093c8
VS with hardening: added guard flag, moved dynamicbase and safeseh to linker flags
7 years ago
Alexander Alekhin
81c5fae56f
core(lapack): fix build issues related to 'extern "C"'
7 years ago
Maksim Shabunin
1b0ff57562
Merge pull request #10621 from mshabunin:disable-docs
...
Documentation generation refactoring (#10621 )
* Documentation build updates:
- disable documentation by default, do not add to ALL target
- combine Doxygen and Javadoc
- optimize Doxygen html
* javadoc: fix path in build directory
* cmake: fix "Documentation" status line
7 years ago
Csaba Keszegh
2aa18ca3e9
fix: use CXX_STANDARD when extracting compiler flags for PCH with GNUCXX
...
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
7 years ago
Maksim Shabunin
c0ae812aa2
Add ThinLTO support for clang
7 years ago
oqtvs
df0b83332d
Updated protobuf version to 3.5.1
7 years ago
Alexander Alekhin
91e10a3105
cmake: ocv_target_include_directories() handle SYSTEM directories
7 years ago
Alexander Alekhin
8533b45ce9
cmake: Java/Android SDK refactoring
7 years ago