Alexander Alekhin
a45928045a
Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private
...
* cmake: avoid deprecated LINK_PRIVATE/LINK_PUBLIC
see CMP0023 (CMake 2.8.12+)
* cmake: fix 3rdparty list
- don't include OpenCV modules
5 years ago
Alexander Alekhin
21c38bbdaf
cmake(cpu optmizations): fix cleanup of OPENCV_DEPENDANT_TARGETS_* vars
5 years ago
Alexander Alekhin
5ef548a985
cmake: update initialization
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
Maksim Shabunin
f99f58d99f
Allow setting IS_PART_OF_WORLD in command line, fix videoio plugin linking
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
3d7a3a51a7
cmake: don't add tests dirs as include directories
...
- use relative paths for includes
- fix PCH generation with GCC (dummy file has been used)
6 years ago
Alexander Alekhin
2a2d195240
cmake: don't add tests dirs as include directories
...
- use relative paths for includes
- fix PCH generation with GCC (dummy file has been used)
6 years ago
Alexander Alekhin
9a6f2630b2
cmake: +opencv_videoio_plugins virtual target
...
- support comma-separated list in VIDEOIO_PLUGIN_LIST
- opencv tests/samples depend on plugins virtual target
6 years ago
Alexander Alekhin
c0016d7fe9
Merge pull request #13253 from alalek:fix_13201
...
* cmake: install 'legacy/constants_c.h' files
* samples: add compatibility test code
6 years ago
Alexander Alekhin
1317c3d178
cmake: don't generate dllmain for cudev module
6 years ago
Alexander Alekhin
d6a8e08acc
cmake: fix variable expand in CMake conditions
6 years ago
Alexander Alekhin
70f2ee917e
cmake: add DllMain() into each OpenCV DLL
...
to detect process termination after ExitProcess() call
6 years ago
Alexander Alekhin
29bee6f07e
cmake: move Matlab scripts to opencv_contrib ( #12541 )
...
* matlab: move to opencv_contrib
* cmake: preserve variables scope for processing modules
- use macro instead of function to avoid scope resets
6 years ago
Jakub Golinowski
9f1218b00b
Merge pull request #11897 from Jakub-Golinowski:hpx_backend
...
* Add HPX backend for OpenCV implementation
Adds hpx backend for cv::parallel_for_() calls respecting the nstripes chunking parameter. C++ code for the backend is added to modules/core/parallel.cpp. Also, the necessary changes to cmake files are introduced.
Backend can operate in 2 versions (selectable by cmake build option WITH_HPX_STARTSTOP): hpx (runtime always on) and hpx_startstop (start and stop the backend for each cv::parallel_for_() call)
* WIP: Conditionally include hpx_main.hpp to tests in core module
Header hpx_main.hpp is included to both core/perf/perf_main.cpp and core/test/test_main.cpp.
The changes to cmake files for linking hpx library to above mentioned test executalbles are proposed but have issues.
* Add coditional iclusion of hpx_main.hpp to cpp cpu modules
* Remove start/stop version of hpx backend
6 years ago
Alexander Alekhin
3f302cabb8
core(test): intrinsic tests for all dispatched CPU optimizations
...
- tests for both SIMD128 / SIMD256
- different dispatched + baseline(SIMD128) intrinsics
6 years ago
Maksim Shabunin
5aceee5a36
Restored tests dependencies processing
6 years ago
Kuang Fangjun
9ae28415ec
fix doc.
7 years ago
Alexander Alekhin
5da7805623
cmake: add module/src include dir in case of enabled precompiled headers
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
4a6d582f2e
dnn: make OpenCL DNN code optional
7 years ago
Alexander Alekhin
1b83bc48a1
dnn: make OpenCL DNN code optional
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
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
luz.paz
413fba14ab
Some mist. typo fixes
...
Found via `codespell -i 3 -w --skip="./3rdparty" -I ../opencv-whitelist.txt`
7 years ago
Alexander Alekhin
3d6659112f
cmake: fix includes processing
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
8533b45ce9
cmake: Java/Android SDK refactoring
7 years ago
Alexander Alekhin
f3dde79ed6
cmake: allow BUILD_FAT_JAVA_LIB for non-Android targets too
7 years ago
Alexander Alekhin
0b33eb0929
cmake: fix ocv_target_compile_definitions() for world builds
...
fixes CUDA build
7 years ago
Alexander Alekhin
768f4cb7bc
python: 'sub-module' for binding sources and documentation meta information
7 years ago
Pavel Rojtberg
6fb9d42c3f
Hid symbols in static builds, added LTO flags, removed exports from ts
7 years ago
Maksim Shabunin
5b17410f7c
Added BUILD_LIST feature
7 years ago
Maksim Shabunin
b1fe298764
Removed cmake submodules and contrib_world references
7 years ago
Alexander Alekhin
3b993431be
cmake: fix build process of OpenCL kernels
7 years ago
Alexander Alekhin
146be78390
cmake: cl2cpp change main OUTPUT to .hpp file
...
To reduce number of unnecessary rebuilds on updates of OpenCL kernels
7 years ago
Boris Fomitchev
76f7fb5231
Extending CPU dispatch to the tests; fixing a typo
7 years ago
Alexander Alekhin
b6949c5088
cmake: CMP0022 NEW
7 years ago
Alexander Alekhin
5e32de8173
cmake: fix __STDC macros for opencv_world build
7 years ago
Alexander Alekhin
5e6e12600f
build: enable __STDC_FORMAT_MACROS macro
7 years ago
Alexander Alekhin
8bd2e9816a
cmake: don't add vs_version.rc for static modules (ts)
8 years ago
Alexander Alekhin
006966e629
trace: initial support for code trace
8 years ago
Alexander Alekhin
d649d1388e
cmake: fix typo
8 years ago
Alexander Alekhin
db35e13b46
build: added VERSIONINFO resource
8 years ago
Alexander Alekhin
17e5e4cd5a
core: CPU target dispatcher update
...
- use suffixes like '.avx.cpp'
- added CMake-generated files for '.simd.hpp' optimization approach
- wrap HAL intrinsic headers into separate namespaces for different build flags
- automatic vzeroupper insertion (via CV_INSTRUMENT_REGION macro)
8 years ago
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
8 years ago