taka-no-me / android-cmake

CMake toolchain file and other scripts for the Android NDK
1.22k stars 438 forks source link

Compile with NDK r12, using clang compiler. #96

Open djangw opened 7 years ago

djangw commented 7 years ago

Enable it with adding "-DANDROID_TOOLCHAIN_NAME=clang".

osfans commented 7 years ago

r13 is out. Does it work?

djangw commented 7 years ago

I haven't tried it yet, but I think it would work unless google changed the directory structure of NDK.

osfans commented 7 years ago

R13 includes a cmake config in build directory, and it works.

M1cha commented 7 years ago

and it seems to be based on this project

Compatible with configurable variables from the other toolchain file: https://github.com/taka-no-me/android-cmake

djangw commented 7 years ago

@osfans @M1cha Tested with r14, and fixed for Windows host system. And I have tried the cmake toolchain included in NDK for my WebKit-based project but it failed to produce shared library. I think this would be better.