Andrey Kamaev
f22ee7f0df
Workaround "Segmentation fault" when built with gcc 4.7 from NDK r8d
12 years ago
Andrey Kamaev
b6efec5f8b
Add support for Android NDK r8d
12 years ago
Andrey Kamaev
8763ad6c99
Fix ccache search in Android CMake toolchain.
12 years ago
Andrey Kamaev
cbe22fb5d1
Android: always sort list of NDK toolchains
...
Order returned by CMake is unreliable but we need clang to go after gcc for
automatic toolchain selection.
12 years ago
Andrey Kamaev
ab9311947a
Update Android CMake toolchain for NDK r8c
12 years ago
Andrey Kamaev
c46affe63e
android.toolchain.cmake: restore implicit link with math library for C++ objects
...
Ticket #2426
12 years ago
Andrey Kamaev
1e69d47ba5
Remove -g from Android complier flags in release mode (used by NDK but inconvenient for CMake)
12 years ago
Andrey Kamaev
4bd2c6b50d
Android toolchain: added fixes/workarounds for NDK r8b and NDK r6 bugs
12 years ago
Andrey Kamaev
2cc262bce4
Fix Android CMake toolchain compiler and linker flags
12 years ago
Andrey Kamaev
d3501f1545
Android toolchain: restored explicit include_directories of system /usr/include
...
It is needed because of explicit STL include paths.
Otherwise some standard headers (like fenv.h) can not not be correctly found by the compiler.
12 years ago
Andrey Kamaev
b0c7280978
Android toolchain: protect from changes of NDK_CCACHE on subsequent cmake
12 years ago
Andrey Kamaev
53d219c857
Improved CMake warnings about known problems of Android NDKs
12 years ago
Andrey Kamaev
a3125c0b8d
Added C++ runtime search for standalone toolchain
12 years ago
Andrey Kamaev
ac808b51a5
Fixing STL support in case of standalone toolchain
12 years ago
Andrey Kamaev
c91850ec2e
Fix executable and C objects linking
12 years ago
Andrey Kamaev
e402bb496d
Add support for all NDK runtimes
12 years ago
Andrey Kamaev
21a536f999
Add NDK release detection into CMake toolchain
12 years ago
Andrey Kamaev
c9dbb0d314
Several small fixes in Android CMake toolchain
...
* fix formatting
* honor Windows-style paths
* suppress warnings inside try_compile
* correct caching of toolchain variables
12 years ago
Andrey Kamaev
e9392d1466
Fix Android build with cmake 2.6.3
12 years ago
Andrey Kamaev
0adbead654
Android toolchain: fix CCache program search
12 years ago
Andrey Kamaev
d421ec26e2
Android toolchain: fixed ccache search
12 years ago
Andrey Kamaev
bbbe77e05e
Fix Android build for mips platform
12 years ago
Andrey Kamaev
c0786e9d33
Support for the gold linker (NDK r8b is required)
12 years ago
Andrey Kamaev
bcf8dd510f
Added CCache support to Android build
...
To speed up rebuilds, define the NDK_CCACHE environment or CMake variable
to the path to your ccache binary. When declared, the android.cmake.toolchain
automatically uses CCache when compiling any C/C++ source file. For example:
export NDK_CCACHE=ccache
12 years ago
Andrey Kamaev
6da9b9f137
Android toolchain: libstdc++ and libsupc are removed from explicit link libraries
...
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
#
# Changes to be committed:
# (use "git reset HEAD^1 <file>..." to unstage)
#
# modified: android/android.toolchain.cmake
#
12 years ago
Andrey Kamaev
bc227ab075
Intermediate files generated by Android toolchain are moved into CMakeFiles subfolder
12 years ago
andrey.kamaev
5b4297cccf
Android CMake toolchain is updated for NDK r8b
13 years ago
Andrey Kamaev
f666bd221f
Merged the trunk r8595:8668 (except iOS and new gpu functionality)
13 years ago
Andrey Kamaev
cddac5d221
Android toolchain: fixed try_compile problem with old cmake versions
13 years ago
Andrey Kamaev
e1c4fd9e1f
Merged the trunk r8345:8376
13 years ago
Andrey Kamaev
c3577a288b
Merged the trunk r8291:8321
13 years ago
Andrey Kamaev
b8804ccc17
Fixed problem with manually set PYTHON_PACKAGES_PATH #1891
13 years ago
Andrey Kamaev
0fecbdde6e
Added Android NDK r8 support including new mips ABI
13 years ago
Vadim Pisarevsky
d5a0088bbe
merged 2.4 into trunk
13 years ago
Andrey Kamaev
44098b2fbb
#1813 fixed compiler options with profiling enabled
13 years ago
Andrey Kamaev
00de4b9314
Fixed compiler flags caching in toolchain; fixed zlib search.
13 years ago
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
13 years ago
Andrey Kamaev
f5d327362b
Android toolchain is updated for NDK r7c
13 years ago
Andrey Kamaev
305d024137
CMake status report: list unsatisfied dependencies for automatically disabled modules; fixed few problems with Windows-style paths
13 years ago
Andrey Kamaev
b232ffcde7
Android: removed unneeded workaround for library output path initialization.
13 years ago
Andrey Kamaev
603e3e4bc0
Fixed bugs in Android cmake toolchain; added experimantal assembler support to the toolchain
13 years ago
Andrey Kamaev
90dcd4608c
Android: fixed cmake try_compile() for case of STL features detection
13 years ago
Andrey Kamaev
631f72d85d
Fixed Android cross-compiling problems:
...
- missing install_name_tool on OS X
- incorrectly working try_compile() command
13 years ago
Andrey Kamaev
01b986ef32
Fixed try_compile for Android; Fixed samples build
13 years ago
Andrey Kamaev
a8f27e4a84
Information about cmake and build platform is added to the status report
13 years ago
Andrey Kamaev
b294383199
Added more default search locations for Android NDK and SDK
13 years ago
Andrey Kamaev
691d392312
Fixes: Android NDK r7b, android build warnings, build with Visual Studio 2005.
13 years ago
Andrey Kamaev
984eb99428
Global CMake reorganization:
...
[~] Automatically tracked dependencies between modules
[+] Support for optional module dependencies
[+] Options to choose modules to build
[~] Removed hardcoded modules lists from OpenCVConfig.cmake, opencv.pc and OpenCV.mk
[+] Added COMPONENTS support for FIND_PACKAGE(OpenCV)
[~] haartraining and traincascade are moved outside of modules folder since they aren't the modules
13 years ago
Andrey Kamaev
504a93ed0a
Alternative xml naming for performance logs
13 years ago
Andrey Kamaev
ae2e494c7d
A number of improvements in android cmake toolchain
13 years ago