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
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
Maksim Shabunin
50d350bcd1
Enable GNU STL debug mode for debug builds
8 years ago
Alexander Alekhin
a5d16f09e6
cmake world: allow to build python bindings
8 years ago
Alexander Alekhin
36b34465a4
cmake: include contrib modules into opencv_world
8 years ago
Alexander Alekhin
b7630a088b
cmake: add global defines to enable useful macros
8 years ago
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
Alexander Alekhin
db6d94a7b0
cmake: minimize MSVS projects layout
...
Also put "object" targets to off by default (they doesn't work well)
8 years ago
Alexander Alekhin
5f269d08b4
bigdata: add test, resolve split/merge issue
9 years ago
Alexander Alekhin
09ce987552
cmake: fix export issue
...
opencv_ts is static internal library and in case of exporting
it requires all static dependencies (include HAL files)
9 years ago
Matt Leotta
912592de4c
Remove "INSTALL_NAME_DIR lib" target property
...
The INSTALL_NAME_DIR property of a target specifies how a dynamic library should
be found on OS X. If INSTALL_NAME_DIR is not specified the loader will search
relative to the standard search paths. If specified it should either be
an absolute path or relative path prefixed with either @executable_path ,
@load_path , or @rpath . Specifying "lib" does not make sense here and
causes linking error as documented here:
http://answers.opencv.org/question/4134/cmake-install_name_tool-absolute-path-for-library-on-mac-osx/
and here
http://stackoverflow.com/questions/26978806/dyld-library-not-loaded-lib-libopencv-core-3-0-dylib-reason-image-not-found
This patch removes INSTALL_NAME_DIR everywhere it is set to "lib".
An alternate solution would be to set an absolute path like
"${CMAKE_INSTALL_PREFIX}/lib" or relative path like
"@executable_path/../lib". However, if there is not specific need for
specifying a path, it is probably best left unset.
9 years ago
Alexander Alekhin
c35ddcba1a
cmake: refactor OpenCL detection, allow custom configurations
9 years ago
Alexander Alekhin
be23846c4e
update osx and ios build_framework.py
9 years ago
Maksim Shabunin
84f37d352f
HAL moved back to core
9 years ago
Alexander Alekhin
7afce8e003
world build: fix modules instantiation order
...
opencv_hal before opencv_world
opencv_world before opencv_ts
9 years ago
Alexander Alekhin
fe2f5c175a
distrib: remove useless static files from shared distribution package
9 years ago
Alexander Alekhin
60eda6f25c
export simple libs from OPENCV_LINKER_LIBS ( fix #5541 )
...
(cherry picked from commit 937a096bf1
)
9 years ago
Alexander Alekhin
937a096bf1
export simple libs from OPENCV_LINKER_LIBS ( fix #5541 )
9 years ago
Vladislav Vinogradov
02c48ab7d6
add CTest support to build tree
9 years ago
Vladislav Vinogradov
d81d51d155
assing labels to targets and sources
9 years ago
Alexander Alekhin
f52cac9d47
fix #5264
9 years ago
Ilya Lavrenov
7746d9b7cc
fix for corrent modules dependencies
...
(cherry picked from commit 1c3d83df54
)
9 years ago