Skip to content

jomof/android-ccache-example

Repository files navigation

Linux Build Status Windows Build status

Android CCache Example

This is an example of using ccache with an Android Studio C++ project. It works on Windows and Linux (and probably Mac).

For Windows, the ccache tool from MSYS2 is used. You can see how this is installed in appveyor.yml.

On Windows, a workaround is used for a ccache bug. Instead of using ccache directly, CMake is directed to use a local tool called wrap-ccache.bat that translates backslashes to forward slashes. The wrap-ccache.bat script isn't particularly smart and will probably break in some cases. Hopefully the ccache bug will be fixed soon.

ccache can significantly speed up larger Android Studio C++ projects because often different gradle build variants produce the same set of clang compilations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published