luz.paz
2003eb1b9b
Misc. typos
...
Found via `codespell -q 3 -I ../opencv-whitelist.txt --skip="./3rdparty"`
6 years ago
Kuang Fangjun
9ae28415ec
fix doc.
7 years ago
Alexander Alekhin
08941b7890
cmake: avoid amending of CMAKE_COMPILER_IS_[GNUCXX|CLANGCXX|CCACHE] vars
...
- Recommended compiler checks:
- GCC: CV_GCC
- Clang: CV_CLANG
- fixed problem with CMAKE_CXX_COMPILER_ID=Clang/AppleClang mess on MacOSX
Details: cmake --help-policy CMP0025
- do not declare Clang as GCC compiler
7 years ago
Maksim Shabunin
3fd2384b81
Fixed mingw compilation on Windows
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
Csaba Keszegh
2aa18ca3e9
fix: use CXX_STANDARD when extracting compiler flags for PCH with GNUCXX
...
When compiling with cmake using -DCMAKE_CXX_STANDARD=11 use `-std=gnu++11`
for PCH compiler flags, otherwise it triggers an error:
opencv_core_Release.gch: not used because `__cplusplus' defined as ` 201103L' not ` 199711L' [-Winvalid-pch]
Use CXX_EXTENSIONS property to select `gnu++11` or `c++11`.
Trying to mimic cmake logic here: https://gitlab.kitware.com/cmake/cmake/blob/master/Source/cmLocalGenerator.cxx#L1527-1557
7 years ago
Alexander Alekhin
6c252d8cdc
cmake: fix -fPIC/-fPIE handling in precompiled headers (PCH)
7 years ago
Alexander Alekhin
22f12dc93c
cmake: fix build with CMake 3.9.0
7 years ago
Alexander Alekhin
0e1d65d3b1
build: fix PCH stub files generation optimization
8 years ago
Alexander Alekhin
1f86d8564f
cmake: fix GCC precompiled headers warnings
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
Christof Kaufmann
583e3a6875
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
Alexander Alekhin
e16227b53c
cmake: support multiple CPU targets
8 years ago
Alexander Alekhin
36b34465a4
cmake: include contrib modules into opencv_world
8 years ago
Alexander Alekhin
b640e72877
cmake: update PCH
...
1) fix include directories
2) don't use PCH for source file with custom COMPILE_FLAGS
8 years ago
Alexander Alekhin
c181f2f493
cmake: fix for GCC 6.x
8 years ago
Alexander Alekhin
21d9412c93
cmake: fix for GCC 6.x
8 years ago
Alexander Alekhin
a3f74aaaaf
cmake: repair GCC PCH
8 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
Maksim Shabunin
a0fdc91a14
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
Philip
e85b23573b
[master] Fixed PCH warning during ARM crosscompilation
...
#5858 for master
9 years ago
Maksim Shabunin
46edb54ac3
Fixed PCH warning during ARM crosscompilation
9 years ago
Maksim Shabunin
eebd4cad66
Fix compilation problems with XCode 7.1.1 and cmake 3.3.2
9 years ago
Maksim Shabunin
e8bf4417ef
New variant of iOS framework building, fixed some warnings for XCode 7.1.1 and cmake 3.3.2
9 years ago
Alexander Alekhin
b15a9d675e
cmake: use copy_if_different
9 years ago
Alexander Alekhin
d83d2d4c2f
viz: fix precompiled headers definitions
9 years ago
Andrey Kamaev
c105b72945
Assorted fixes:
...
* cmake CMP0054 and CMP0045
* aarch64 build
* portable code options in PCH cmake
* some of gcc 4.9 warnings
10 years ago
Roman Donchenko
13d67b6ae7
Suppress a bogus -Warray-bounds in modules/superres/src/optical_flow.cpp
...
This is actually the same warning that the suppression at the bottom
suppresses, but that one doesn't suppress it when using a native compiler
(go figure).
I remove the forced inclusion of precompiled headers into all sources,
since otherwise this workaround doesn't work - the header with the warning
is included before I can use a pragma.
10 years ago
Alexander Alekhin
55188fe991
world fix
10 years ago
Alexander Alekhin
b4a534a235
cmake: PCH: use DEFINE_SYMBOL target property
11 years ago
Roman Donchenko
6d7f29a03a
Made it so that a dummy .cpp is actually created when compiling with VC++.
11 years ago
Andrey Kamaev
762aefd71b
Compile opencv_test_core with cv::String instead of std::string
...
All tests passed!
12 years ago
Andrey Kamaev
b6efec5f8b
Add support for Android NDK r8d
12 years ago
Andrey Kamaev
2e91405833
Fix OS X build warnings
12 years ago
Andrey Kamaev
02b33792cb
Fix precompiled headers support detection for gcc-4.6 toolchain from Android NDK r8b
...
The version reported by toolchain is 4.6.x-google so regex needs an adjustment.
12 years ago
Andrey Kamaev
3fb3851c7a
Remove debug print
12 years ago
Andrey Kamaev
11bffb0e7d
Unify manifest files in Android examples
...
(cherry picked from commit bd12f636c8
)
Signed-off-by: Andrey Kamaev <andrey.kamaev@itseez.com>
12 years ago
Andrey Kamaev
bd12f636c8
Unify manifest files in Android examples
12 years ago
Marina Kolpakova
6cca6a4548
merged the trunk r8669:8702
13 years ago
Andrey Kamaev
0f01d8df1c
Fixed Visual Studio precompiled headers
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
ffa44fb114
Fixed precompiled headers build on Linux
13 years ago
Andrey Kamaev
49a1ba6038
Set stricter warning rules for gcc
13 years ago
Andrey Kamaev
8cab65c173
Started top-level CMakeLists.txt file reorganization: cmake scripts are moved to separate folder; refactored BUILD_*, INSTALL_*, ENABLE_*, USE_*, WITH_* options.
13 years ago
Andrey Kamaev
3b59a51347
Fixed pch support on linux
14 years ago
Andrey Kamaev
0f6503d9a9
Fixed precompiled headeds for non-windows systems.
14 years ago
Andrey Kamaev
3aea74d408
Fixed precompiled headers support (fixed formatting, fixed dependencies generation)
14 years ago
Andrey Kamaev
4d8a261d99
Allowed spaces in path to OpenCV (tested only Android build)
14 years ago
Andrey Kamaev
0b6fed32e3
Allowed spaces in Android NDK path
14 years ago