Benoit Blanchon
7997e7aee9
cmake: map RelWithDebInfo and MinSizeRel configuration to Release
8 years ago
KUANG Fangjun
c92ecc7f96
Improve the documentation.
8 years ago
Alexander Alekhin
355553b0a6
cmake: CMP0026 NEW
8 years ago
Alexander Alekhin
d25b04149a
cmake: CMP0022 NEW
8 years ago
Alexander Alekhin
d567a79581
cmake: use CMAKE_CXX_COMPILER_VERSION (CMake 2.8.8+)
...
- PVAPI library detection was changed
8 years ago
neok-m4700
126de0cd95
Update OpenCVCompilerOptions.cmake
...
misplaced else
8 years ago
Alexander Alekhin
0312df4812
cmake: fix compiler flags
8 years ago
Alexander Alekhin
fc2a71dbab
build: enable __STDC_FORMAT_MACROS macro
8 years ago
Christof Kaufmann
572c86176a
cmake: Avoid adding default path as system directory for GCC 6.x
...
This is a completion for PR #7390 and fixes #6517 and #815 .
8 years ago
Patrik Huber
ebd961585e
Added detection of MSVC1911
...
This is VS2017 Preview. It makes sure the version is detected properly and the INSTALL target then correctly installs to x64/vc15 (the same as MSVC1910).
8 years ago
Alexander Alekhin
70489b1e22
cmake: fix libname for pkg-config configuration
8 years ago
Alexander Alekhin
9e76ba5ccd
ffmpeg: add __STDC_CONSTANT_MACROS to check code
8 years ago
Alexander Alekhin
e304795622
cmake: add defines to enable useful macroses
8 years ago
Alexander Alekhin
9d45f15627
cmake: fix ffmpeg check code
8 years ago
Alexander Alekhin
b06bd50144
cmake: update PDB support condition
...
Unfortunately there is no stable support for installation of PDB files in CMake.
This patch is just eliminate problems with modern versions.
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
041502e42c
build: eliminate ICC warnings
8 years ago
Alexander Alekhin
d206e84a13
cmake: use -fp-model precise with ICC
8 years ago
Alexander Alekhin
26fbaada0a
cmake: disable warning C4127 for MSVS < 2015
8 years ago
Patrik Huber
c6af179afc
Added VS2017 support (MSVC 1910)
8 years ago
Maksim Shabunin
ab260dafd2
Fixed Intel C++ 17 build in VS2015
8 years ago
Alexander Alekhin
2d28bb4171
ipp: disable compilation with IPP 9+
8 years ago
Alexander Alekhin
32f568308a
cmake: cleanup ffmpeg detection
8 years ago
Alexander Alekhin
5ac15f09ed
cmake: add DEBUG_PRE/DEBUG_POST commands handling
...
Useful for debug purposes:
cmake -DDEBUG_POST="ocv_cmake_dump_vars(CUDA)" .
cmake -DCMAKE_PRE="ocv_cmake_dump_vars(\"OPENCL|opencl\")" .
8 years ago
Alexander Alekhin
36d7712c2c
cmake: CMakeVars.txt (for debugging purpose)
8 years ago
Alexander Alekhin
e5041abe55
cmake: remove outdated pkg-config module
8 years ago
Alexander Alekhin
a3bfa6f566
cmake: ccache
8 years ago
Maksim Shabunin
21167b1bf1
Fixed several GCC 5.x warnings
8 years ago
Alexander Alekhin
c181f2f493
cmake: fix for GCC 6.x
9 years ago
Alexander Alekhin
c314178e7a
highgui/osx: backport AVFoundation support
9 years ago
Alexander Alekhin
2d10336601
fix documentation
9 years ago
Alexander Alekhin
4d17051f14
android: backport Android SDK build script
9 years ago
Alexander Alekhin
bb5e25ba7c
migration: github.com/opencv/opencv
9 years ago
Ilya Lavrenov
6677f81779
fixed lintian warnings
9 years ago
Alexander Alekhin
c6be51eecd
cmake: fix JNI configuration problem for Android samples
...
Some CMake 3.x (2.8.12.2 is fine) provides broken build configurations
with following build error message:
ld: fatal error: -soname: must take a non-empty argument
Linker command line sample contains this:
"-shared -Wl,-soname, -o"
9 years ago
Alexander Smorkalov
9fee699693
Fixed package-contains-timestamped-gzip lintian warning for Debian packages.
9 years ago
Alexander Smorkalov
a8b2b4dba1
Packaging fixes for Ubuntu 16.04.
9 years ago
Maksim Shabunin
fb598bb76a
Disabled PCH support for gcc >= 6.0.0
...
Command line generation routine uses "-isystem" to include headers outside of "<opencv>/modules" folder, but GCC 6 does not work when passed "-isystem /usr/include" option.
9 years ago
Vitaly Tuzov
96903dc4ad
Test data necessary for python samples added to test package.
...
Test launch script updated to run new tests as well.
9 years ago
Maksim Shabunin
d2e451e877
Ported VTK cmake detection from master branch
9 years ago
Alexander Smorkalov
9c4204b89e
Added check if debian package version matches version from version.hpp
9 years ago
atinfinity
cf43790a27
added cmakedefine to cmake/templates/cvconfig.h.in
9 years ago
atinfinity
69eaa89e22
fixed to use NVCUVID in 'cudacodec' module.
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 Smorkalov
5a5378b3bf
Added lintian overrides for package signature entry.
9 years ago
atinfinity
c4e80952ce
changed to find TBB library(VS2015)
9 years ago
Maksim Shabunin
46edb54ac3
Fixed PCH warning during ARM crosscompilation
9 years ago
Ilya Lavrenov
4fa14f75b8
suppress lintian warning in opencv.pc
9 years ago
Ilya Lavrenov
130d4b1bdf
added suppression for python-script-but-no-python-dep
9 years ago
Ilya Lavrenov
969f0c4456
added lintian overrides for debian packages
9 years ago