Open philberty opened 8 years ago
I currently don't see any way to switch between clang or gcc. The NDK comes bundled with both compilers. This is a fantastic cmake plugin by the way thanks for sharing!
ANDROID_TOOLCHAIN_NAME , isn't ?
ANDROID_TOOLCHAIN_NAME
You can call cmake with the command line -DANDROID_TOOLCHAIN_NAME=standalone-clang
-DANDROID_TOOLCHAIN_NAME=standalone-clang
edit: but this has issues, as I discovered latter: CMAKE_COMPILER_IS_GNUCXX is set!
I currently don't see any way to switch between clang or gcc. The NDK comes bundled with both compilers. This is a fantastic cmake plugin by the way thanks for sharing!