Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch between clang and gcc #65

Open
philberty opened this issue Sep 11, 2015 · 2 comments
Open

Switch between clang and gcc #65

philberty opened this issue Sep 11, 2015 · 2 comments

Comments

@philberty
Copy link

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!

@hextriclosan
Copy link

ANDROID_TOOLCHAIN_NAME , isn't ?

@SRombauts
Copy link

SRombauts commented May 12, 2016

You can call cmake with the command line
-DANDROID_TOOLCHAIN_NAME=standalone-clang

edit: but this has issues, as I discovered latter: CMAKE_COMPILER_IS_GNUCXX is set!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants