Roman Donchenko
76b904b022
Replaced our usage of LINK_PRIVATE with that of LINK_INTERFACE_LIBRARIES.
...
The reasons for that are twofold:
1) LINK_PRIVATE is only available since CMake 2.8.7.
2) The way it was used generated a warning because of CMake policy CMP0023:
http://www.cmake.org/cmake/help/v2.8.12/cmake.html#policy:CMP0023
Using LINK_INTERFACE_LIBRARIES actually causes another warning - this time
because of CMake policy CMP0022:
http://www.cmake.org/cmake/help/v2.8.12/cmake.html#policy:CMP0022
I set the policy to OLD, because NEW means subtle changes when compiling
with CMake 2.8.12, and I don't want to research that this close to release.
:-)
I also removed the setting of CMP0003, because it's set by
cmake_minimal_version anyway.
11 years ago
Alexander Alekhin
034a77c26d
cmake: workaround for dependencies resolver (bypass non-module deps w/o check)
11 years ago
Alexander Alekhin
555c505b70
update cmake 'install' target for Windows platform
...
Allow to build samples via OpenCV binaries from distribution package
(find_package with OpenCV_DIR).
11 years ago
Alexander Alekhin
dd9ff587dc
ocl: file-based ProgramCache refactoring
11 years ago
Alexander Alekhin
b00f79ac5f
ocl: move program names into opencl_kernels.hpp
11 years ago
Alexander Alekhin
48774a39b4
cmake: fixed incorrect usage of add_definitions() on Linux
11 years ago
Alexander Alekhin
ce557fb7be
Revert "cmake: fixed incorrect usage of add_definitions() on Linux"
...
This reverts commit 286244efed
.
11 years ago
Alexander Alekhin
286244efed
cmake: fixed incorrect usage of add_definitions() on Linux
11 years ago
Roman Donchenko
e5735282da
Added the ability to have samples inside a module.
11 years ago
Vladislav Vinogradov
ae94256edc
renmaed gpu module -> cuda
11 years ago
Roman Donchenko
9667a8a1ae
Fix the name of perf tests' precompiled header.
...
(cherry picked from commit aa96d8d053
)
11 years ago
Roman Donchenko
aa96d8d053
Fix the name of perf tests' precompiled header.
11 years ago
Roman Donchenko
6d7f29a03a
Made it so that a dummy .cpp is actually created when compiling with VC++.
11 years ago
Roman Donchenko
ee182eb086
Fixed the setting of CVAPI_EXPORTS for modules that are always static/shared.
...
Also, removed needless check of BUILD_SHARED_LIBS in core; in that case,
only the current module's library type matters.
12 years ago
Anatoly Baksheev
757e61d94c
restored OpenCVModule.cmake
12 years ago
hbristow
245bc5dcc0
maintenant compiling video et photo aussi
12 years ago
hbristow
5bc55a042e
Now building all functions (not classes) in core, imgproc, ml and highgui
12 years ago
hbristow
bb56ac4ae6
Added delta builds of Matlab executables. Imgproc module now compiling
12 years ago
hbristow
1a15ed3279
Started handling trivial case of return references. Removed most modules from build tree while testing (cmake/OpenCVModule)
12 years ago
Roman Donchenko
33d1f67501
Include the OpenCV config headers into every module.
...
This has no bearing on compilation, but it makes them show up in IDEs.
12 years ago
Roman Donchenko
985bfea556
Don't resolve symlinks when looking for modules.
...
We don't really need it, it makes the code longer, and it can lead to
inconsistent paths when OpenCV is itself inside a symlink.
12 years ago
Anatoly Baksheev
0e7d4a5703
First version of 'viz' module
12 years ago
Dirk Van Haerenborgh
caa9ac4ed9
fix installation of main module headers
...
see: http://code.opencv.org/issues/2897
The order of the 2 conditions is really important, as every MATCHES
operator sets ${CMAKE_MATCH_1}, which is needed inside the condition
block. Ideally, this should be done using a single regex with a
negative forward lookahead, but CMake doesn't seem to support this
12 years ago
Roman Donchenko
e8721f1f6f
Automatically add CUDA support to a module if it has CUDA sources.
...
Backport from master.
12 years ago
Vladislav Vinogradov
28b1e81883
renamed device -> cuda
12 years ago
Andrey Kamaev
517062039e
Make core/internal.hpp a private header
12 years ago
Andrey Kamaev
f282498b1d
Drop outdated targets and fix solution folders
12 years ago
Andrey Kamaev
762aefd71b
Compile opencv_test_core with cv::String instead of std::string
...
All tests passed!
12 years ago
Andrey Kamaev
14bb4cbe1e
Add cv::String class
12 years ago
Andrey Kamaev
91ac9688a8
Allow OpenCL acceleration in every OpenCV module
12 years ago
Andrey Kamaev
ad5cddc007
Main module headers are moved 1 level up
...
e.g. <opencv2/core/core.hpp> become <opencv2/core.hpp>
Also renamed <opencv2/core/opengl_interop.hpp> to <opencv2/core/opengl.hpp>
12 years ago
marina.kolpakova
39ecd94010
forbid recursive globbing for OpenCV modules sources
12 years ago
marina.kolpakova
19f863ec13
add possibility to create CUDA powered modules with ocv_define_module macro
12 years ago
Andrey Kamaev
3889b34ec3
Add option to run java tests with run.py
12 years ago
Andrey Kamaev
e3474878b6
Consistently use 4-digit library version
12 years ago
Andrey Kamaev
3cb84ed17c
Fix dependencies inference for auto-disabled targets
...
Sometimes information about dependencies causing disabling were loosed and it
was not possible to correctly display these dependencies in status report
12 years ago
Andrey Kamaev
cf8deac2b2
Always touch variable controlling build of the module
...
This suppresses "unused variable" CMake warning when user explicilty disables
module unavailable in selected configuration
12 years ago
Andrey Kamaev
95b6a103b5
Add sanity checks support for vertor<KeyPoint>
12 years ago
Leonid Beynenson
8dcf52c90b
Added possibility to make subfolders in modules' folders "src/".
12 years ago
Vladislav Vinogradov
a0aef244d6
removed perf_gpu_cpu from CMake scripts
12 years ago
Marina Kolpakova
b28b2428f6
changing package layout after 'make install' for Android build
13 years ago
Marina Kolpakova
6cca6a4548
merged the trunk r8669:8702
13 years ago
Andrey Kamaev
15e50420bc
Fixed linux and android install
13 years ago
Andrey Kamaev
8748cbc232
Fixed optional dependencies tracking in CMake. Fixed TBB compiler definitions for Android.
13 years ago
Andrey Kamaev
a20837fb7c
Fixed precompiled headers support detection
13 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
79df8db76f
Fixed recently introduced build problems on some platforms
13 years ago
Vladislav Vinogradov
1d57911646
updated gpu-vs-cpu performance tests
13 years ago
Anatoly Baksheev
4793ca8fbb
fixed precom for opencv_perf_gpu_cpu
13 years ago
Andrey Kamaev
70166820ea
Merged the trunk r8324:8345
13 years ago