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
Aaron Bray
6f8be3f693
Merge pull request #10497 from aaron-bray:msvc2017-findcuda
...
* Update to properly find the compiler tools for MSVC 2017
* FindCUDA: Fix the MSVC 2017 compiler tool locations
7 years ago
Alexander Alekhin
f3dde79ed6
cmake: allow BUILD_FAT_JAVA_LIB for non-Android targets too
7 years ago
Alexander Alekhin
431b3b4323
cmake(android): refactor copying of Android samples project files
7 years ago
Alexander Alekhin
9966903ae1
cmake(android): fix non-idempotent INSTALL scripts
7 years ago
Alexander Alekhin
0e6dd32858
cmake(android): update zlib alias condition
...
To use 'z' in Android.mk instead of absolute path from the build machine.
7 years ago
Alexander Alekhin
bc7923e382
cmake(android): fix ccache detection (native Android toolchain with NDK_CCACHE)
...
To prevent this result:
/usr/bin/ccache ccache <android-ndk-r16.1>/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc ...
with:
ccache: error: Recursive invocation (the name of the ccache binary must be "ccache")
7 years ago
Alexander Alekhin
5f9bb6249e
android: IPPICV static libraries workarounds for NDK 16
7 years ago
Alexander Alekhin
94b236872c
cmake: avoid unnecessary files creation in ocv_cmake_configure()
7 years ago
Alexander Alekhin
ea5a3e557f
python: filter modules headers (from <module>/include directory)
7 years ago
Alexander Alekhin
4bd1e3dcbd
cmake: avoid timestamp change of version_string.inc file
7 years ago
Alexander Alekhin
7d67d60fb1
cmake(opt): AVX512_SKX
7 years ago
Alexander Alekhin
898ca38257
cmake: AVX512 -> AVX_512F
7 years ago
Arjan van de Ven
fc8e848a54
Add basic plumbing for AVX512 support
...
The opencv infrastructure mostly has the basics for supporting avx512 math functions,
but it wasn't hooked up (likely due to lack of users)
In order to compile the DNN functions for AVX512, a few things need to be hooked up
and this patch does that
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
7 years ago
Alexander Alekhin
6c252d8cdc
cmake: fix -fPIC/-fPIE handling in precompiled headers (PCH)
7 years ago
Tomoaki Teshima
fe7b3f1228
clean up the code
...
* disable the warning in CMake, not int the code using pragma
7 years ago
Alexander Alekhin
0b33eb0929
cmake: fix ocv_target_compile_definitions() for world builds
...
fixes CUDA build
7 years ago
Sayed Adel
a8ae9cab08
3rdparty:libpng[1.6.34] Add missing support for PowerPC/VSX
7 years ago
Alexander Alekhin
cd4176104d
3rdparty: update libwebp 0.6.1
7 years ago
Alexander Alekhin
5c709f4aaa
3rdparty: update libtiff 4.0.9
7 years ago
Alexander Alekhin
f39ee9c6a1
cmake: rework MAP_IMPORTED_CONFIG to prevent unintended build failures
...
Introduce CMake variable OPENCV_MAP_IMPORTED_CONFIG which controls this behaviour
Added defaults for MSVS targets
7 years ago