huihut
fe42933ac5
Merge pull request #15433 from huihut:master
...
* fix 'chmod' is not recognized as an internal or external command in Windows
https://github.com/opencv/opencv/issues/14939
* cmake: update PCH command handling
5 years ago
Maksim Shabunin
9d4f01626c
cmake: add directory creation to download helper scripts
5 years ago
Maksim Shabunin
d974d4c6ce
cmake: download tries, customizable download parameters
5 years ago
Maksim Shabunin
8c849a48cc
Ported install layout refactoring from master branch
5 years ago
Maksim Shabunin
4e67eb6c42
Extracted install layout configuration to separate file
5 years ago
Ilya Lavrenov
d0c4a92b4c
Adopted detection of Inference Engine
5 years ago
Alexander Alekhin
464972855e
cmake: add libatomic check
5 years ago
luz.paz
57ccf14952
FIx misc. source and comment typos
...
Found via `codespell -q 3 -S ./3rdparty,./modules -L amin,ang,atleast,dof,endwhile,hist,uint`
backporting of commit: 32aba5e64b
5 years ago
luz.paz
32aba5e64b
FIx misc. source and comment typos
...
Found via `codespell -q 3 -S ./3rdparty,./modules -L amin,ang,atleast,dof,endwhile,hist,uint`
5 years ago
Tomoaki Teshima
40c71a2463
suppress noisy warning
...
* add -Wno-psabi when using GCC 6
* add -Wundef for CUDA 10
* add -Wdeprecated-declarations when using GCC 7
* add -Wstrict-aliasing and -Wtautological-compare for GCC 7
* replace cudaThreadSynchronize with cudaDeviceSynchronize
5 years ago
Alexander Alekhin
5ef548a985
cmake: update initialization
5 years ago
Vishal Chiluka
bca49b99ca
Removing static linking of cuda library
5 years ago
Victor Romero
987bb2ca61
Fix build for UWP
...
backport of commit: f18cbd036a
5 years ago
Victor Romero
f18cbd036a
Merge pull request #15207 from vicroms:fix-uwp-build
...
Fix build for UWP (#15207 )
* Guard non-WinRT calls to fix UWP build
* Remove unnecessary guard for WinRT
5 years ago
Hugo Lindström
03fe1cb7fc
Support building shared libraries on WINCE.
5 years ago
Alexander Alekhin
d2911a8d41
dnn: use OpenVINO 2019R2 defines
5 years ago
Giles Payne
a897fc91ec
Add no_samples_build option to Android SDK build
5 years ago
Alexander Alekhin
0fc584961c
cmake: workaround to fix link issues with stubs/libcuda.so.1
5 years ago
Alexander Alekhin
d7744aca02
dnn: use OpenVINO 2019R2 defines
5 years ago
Tomoaki Teshima
db6a6ccaba
re-enable CPU_BASELINE=FP16 on Armv7 platform
5 years ago
Alexander Alekhin
bc79f477dd
cmake: support rpath-link linker option
...
- builds with CMAKE_SKIP_RPATH=ON should properly find project .so files from <build>/lib directory
- $ORIGIN doesn't work properly in cross-compilation mode
5 years ago
Alexander Alekhin
e3aa96ccf2
cmake: normalize include directories in OpenCVConfig.cmake
5 years ago
Stefan Brüns
0a45b8c478
Handle absolute OPENCV_INCLUDE_INSTALL_PATH correctly
...
In case OPENCV_INCLUDE_INSTALL_PATH is absolute (i.e. starts with a "/"),
the path ends up with a double "/".
While this is mostly equivalent to a single slash, it may have a nasty
side effect when:
- OpenCV_INSTALL_PATH is empty
- OPENCV_INCLUDE_INSTALL_PATH is "/usr/include"
- the calling build script uses "-isystem" to specify the path to the
headers of dependencies (to avoid warnings)
Specifying "-isystem /usr/include" breaks the path ordering, and GCC can
no longer find its "stdlib.h", thus CMake filters such statements.
Unfortunately it fails to do so when using "//usr/include".
5 years ago
Stefan Brüns
e10c01047c
Fix detection of 32bit ARM builds on Aarch64
...
It is perfectly possible to compile ARM binaries on Aarch64. Generalize
the code to no only swap X86 with X86_64, but also ARM and AARCH64.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
5 years ago
Vitaly Tuzov
d2aadabc5e
Merge pull request #14743 from terfendail:wui512_fixvswarn
...
Fix for MSVS2019 build warnings (#14743 )
* AVX512 arch support for MSVS
* Fix for MSVS2019 build warnings: updated integral() AVX512 implementation
* Fix for MSVS2019 build warnings: reworked v_rotate_right AVX512 implementation
* fix indentation
6 years ago
Alexander Alekhin
878af7ada8
Merge pull request #14725 from alalek:update_openexr_2.3.0
...
3rdparty: update OpenEXR 2.3.0 (#14725 )
* openexr 2.2.1
* openexr 2.3.0
* openexr: build fixes
* openexr: build dwa tables on-demand
6 years ago
Maksim Shabunin
f99f58d99f
Allow setting IS_PART_OF_WORLD in command line, fix videoio plugin linking
6 years ago
Maksim Shabunin
65919ed839
AVX 512 detection: workaround for older GCC
6 years ago
Yashas Samaga B L
ae279966c2
Merge pull request #14660 from YashasSamaga:dnn-cuda-build
...
add cuDNN dependency and setup build for cuda4dnn (#14660 )
* update cmake for cuda4dnn
- Adds FindCUDNN
- Adds new options:
* WITH_CUDA
* OPENCV_DNN_CUDA
- Adds CUDA4DNN preprocessor symbol for the DNN module
* FIX: append EXCLUDE_CUDA instead of overwrite
* remove cuDNN dependency for user apps
* fix unused variable warning
6 years ago
Alexander Alekhin
d8b42792a6
cmake: update ENABLE_FAST_MATH option
6 years ago
Maksim Shabunin
472f3b7347
Fix TBB debug
6 years ago
Maksim Shabunin
dc28a1aba2
highgui: fixed build GTK2+OpenGL
6 years ago
Maksim Shabunin
fff7b7e459
LAPACK: add support for complex numbers for MSVC
6 years ago
Sergiu Deitsch
bc4b2d521c
Merge pull request #13337 from sergiud:eigen-cross-compile
...
* added support for Eigen cross-compilation
* cmake: fix Eigen detection
6 years ago
Alexander Alekhin
3c1267dbe6
android: update 'debug' information support
6 years ago
Maksim Shabunin
5acfa524cb
Added support for Clang build hardening (including Apple)
6 years ago
Alexander Alekhin
6b6222bfbb
cmake: support CPU_DISPATCH=ALL, fix misused CPU_DISPATCH
...
- CPU_DISPATCH_FINAL should be used for filtering
6 years ago
Sayed Adel
5a77f4cee3
Merge pull request #14007 from seiko2plus:core_avx512_infa
...
* core: improve AVX512 infrastructure by adding more CPU features groups
* cmake: use groups for AVX512 optimization flags
* core: remove gap in CPU flags enumeration
* cmake: restore default CPU_DISPATCH
6 years ago
Alexander Alekhin
90c34c5c17
cmake: fix pkg-config handling
...
backporting commit c9f3f4d1d3
6 years ago
Alexander Alekhin
c9f3f4d1d3
cmake: fix pkg-config handling
...
Avoid non-intentional call of "include(FindPkgConfig)"
It should be handled in the root CMakeLists.txt (safely for cross-compiling)
6 years ago
Adam Rankin
a164a131f9
BUG: Qt5 components not correctly detected if only Qt5_DIR is provided, when this is supported by Qt CMake system.
...
Fixed by updating Qt5 find_package call to use modern CMake syntax
6 years ago
Alexander Alekhin
c1981f28ad
build: +OPENCV_ENABLE_MEMORY_SANITIZER flag
6 years ago
Alexander Alekhin
319e891d7d
cmake: guard macro definitions in PCH scripts
...
fixes build with VTK
6 years ago
Alexander Alekhin
2e4d771005
cmake: fix PDB handling
6 years ago
Alexander Alekhin
0d747daf47
cmake: use absolute library paths from 'pkgconfig'
...
- drop legacy check_module() macro
- drop 'ALIASOF_'
6 years ago
Alexander Alekhin
a56c12278e
cmake: fix C++11 flags (ENABLE_CXX11 is not required)
6 years ago
lain
246733382f
Fix OpenCVConfig.cmake for Arch Linux.
6 years ago
Manolis Stamatogiannakis
ef16e4203e
Fix compile error with external TBB and -DBUILD_SHARED_LIBS=OFF.
...
Adds IMPORTED for the TBB::tbb alias target as otherwise cmake produces
the following error:
CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_core" which requires target "tbb" that is not in the export set.
This problem occurs with the defaults used by homebrew on macOS, which
compiles both static and shared versions of TBB and OpenCV.
6 years ago
Alexander Alekhin
9515137cb2
cmake: fix PCH generation
...
process defines from INTERFACE targets
6 years ago
Alexander Alekhin
39630e076a
Merge pull request #14294 from alalek:issue_14286
...
cmake: fix WITH_OPENCL_D3D11_NV check
6 years ago