Alexander Alekhin
4b17d073c0
cmake: fix linker dependencies for opencv_java
...
Linker dependencies to all OpenCV modules are invalid.
We should not include other bindings in this list (like "opencv_python").
11 years ago
Vladislav Vinogradov
e5947f581a
fix CUDA 5.5 support (npp, arm cross compilation) in CMake scripts:
...
The patch was submitted to CMake and might be available
in the next CMake release.
But until we have the fix in CMake we should add workaround in our scripts.
11 years ago
Alexander Alekhin
d571b28eaa
cmake: fix bug with installation into OPENCV_LIB_INSTALL_PATH directory
11 years ago
Vadim Pisarevsky
de521fc9fa
fixed some more compile bugs (including Python bindings)
11 years ago
Roman Donchenko
f82eb0f79c
Add better OpenMP detection and make an option to enable it.
...
Bug report and inspiration: http://code.opencv.org/issues/3328
11 years ago
Roman Donchenko
49c6533227
Move the minimal CUDA version into the minimal version list.
11 years ago
Greg Hale
387587f4f0
regex doesnt need to match full length of input, so only trying to match the leading -[lL]
11 years ago
Greg Hale
fe3dd762a4
fixed wrong regex
11 years ago
Alexander Alekhin
cfc3b9abbb
ocl: workaround for msvc11 bug
...
"#error" requires DOS line endings (or fails with fatal error C1004: unexpected end-of-file found)
See: http://connect.microsoft.com/VisualStudio/feedback/details/794991/c-error-directive-and-unix-line-endings-leads-to-an-unexpected-end-of-file
So replace them to #pragma message.
11 years ago
Alexander Alekhin
6344da9ac3
ocl: force to use Khronos OpenCL headers
11 years ago
Alexander Alekhin
83b7fbe376
cmake: cleanup OpenCVModules_TARGETS from cache
...
This will allow to disable modules between cmake runs
11 years ago
Greg Hale
0c4d484679
added backslash
11 years ago
Greg Hale
61ccd170bd
shortened code to not repeat myself
11 years ago
Greg Hale
5bd5993663
Only append -l to lib entries with no path and no -l or -L of their own
11 years ago
Alexander Alekhin
9941d3f71a
cmake: restore find_package() for build directory
11 years ago
Greg Hale
70df365c87
changed foreach variable to match naming conventions and dropped intermediate variable, appending directly to the LIB_COMPONENTS list
11 years ago
Greg Hale
f23b51de6f
Added -l prefix to EXTRA_COMPONENTS when generating pkg-config file
11 years ago
Alexander Alekhin
d26f62569d
ocl: fix compilation warnings, update openCLExecuteKernelInterop
11 years ago
Alexander Alekhin
fbe7448250
cmake: export OpenCVModules for unix 'install', move macros desclarations
11 years ago
Alexander Alekhin
4adede4246
cmake: python module updates
11 years ago
Alexander Alekhin
47dd44e490
cmake: OpenCVConfig.cmake: fix message
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
Tony
c1cd70e25a
Disable OpenGL when Gtk3 is selected
...
The OpenGL library is not supported on Gtk3 which uses the cairo
library for rendering. Cairo, in turn uses hardware acceleration when
supported by the underlying system. Some improvement to performance
may be gained by useing the cairo-gl and cairo-glx libraries included
on modern Gtk3 systems.
See the cairo documentation for further information. The following
link may also be of interest.
http://lists.cairographics.org/archives/cairo/2012-October/023609.html
11 years ago
Vladislav Vinogradov
adc516becc
fixed OpenCVConfig.cmake.in file for CUDA 5.5 toolkit
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
Vladislav Vinogradov
4e4d2da0b9
fix #3296 : Unsupported gpu architecture 'compute_21'
11 years ago
Tony
81d6842b8e
These changes introduce Gtk3 support into the highgui module.
...
A new option WITH_GTK3 has been added to the cmake configure system to enable compilation under Gtk version 3.The flag HAVE_GTK3 is also introduced to select the new Gtk3 code in the source files. (Gtk2 is disbled when Gtk3 is selected).
window_gtk.cpp has been modified to remove obsolete (and deleted from libgtk 3) and introduce new Gtk3 code in its place when compiled for Gtk3.
To compile for Gtk2, disable WITH_GTK3 in cmake. To build for Gtk3 both WITH_GTK and WITH_GTK3 must be selected.
11 years ago
Alexander Alekhin
212ad97100
ocl: dynamic load of OpenCL libraries
...
Support functions from OpenCL 1.1 / OpenCL 1.2
11 years ago
Alexander Smorkalov
308fbeb04b
Make libv4l support optional for testing purposes.
11 years ago
Alexander Alekhin
b4a534a235
cmake: PCH: use DEFINE_SYMBOL target property
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
hbristow
eb3a83209c
Added TODO for the future of Matlab version sorting
11 years ago
hbristow
31c58d23e0
Streamlined mexext detection, with removal of trailing whitespace/newlines handled by execute_process
11 years ago
hbristow
86b7e3d15d
Moved Jinja2 into 3rdparty. Now using latest stable version from pypi (2.7.1)
11 years ago
Adrian Stratulat
f9ea3772b0
Add compile option for enabling NEON
11 years ago
hbristow
224f44a255
Made changes to OpenCVFindMatlab suggested by SpecLad
11 years ago
Roman Donchenko
671e5e39b1
Dropped the HAVE_DC1394_095 configuration macro.
...
We never set it, and libdc1394 0.9.5 is obsolete anyway - 1.0 came out
in 2004.
Note that 1.0 doesn't have the do_extra_buffering parameter.
11 years ago
hbristow
232f11e256
Updated OpenCVFindMatlab with changes suggested by SpecLad
11 years ago
Roman Donchenko
473bfb0019
Updated the build config files to deal with the version status.
...
I didn't make the status part of the version variables here, because
letters don't play too well with version comparison algorithms
(especially with CMake's, which only supports numbers).
11 years ago
Roman Donchenko
cd8ff69637
Added version status support into the build system.
11 years ago
antonella
5b2d557502
Added plantuml extension
...
Aligned strings in CMakeList
Modified the check on plantuml extension
Some fixes
Moved find_host_program for plantuml script
11 years ago
Roman Donchenko
59dd5aea00
Reenabled adding native app glue for Android samples.
11 years ago
Roman Donchenko
e5735282da
Added the ability to have samples inside a module.
11 years ago
hbristow
7e5bbec895
Removing trailing whitespace and expanded tabs
11 years ago
hbristow
f57145dc64
Fixed regular expression for finding Matlab in Windows PATH
11 years ago
Vladislav Vinogradov
ae94256edc
renmaed gpu module -> cuda
11 years ago