Added CCache support to Android build
authorAndrey Kamaev <andrey.kamaev@itseez.com>
Mon, 27 Aug 2012 14:22:00 +0000 (18:22 +0400)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Mon, 27 Aug 2012 14:22:00 +0000 (18:22 +0400)
commitbcf8dd510f738a121b9db8d5a93559fd35cc360d
tree9f0f9ebb22348765056a0538f532ebceb43d34f4
parent5c01d13f38c7826e5d03ea9944a818c8c9937126
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
CMakeLists.txt
android/android.toolchain.cmake
cmake/OpenCVDetectCXXCompiler.cmake