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

Add tools.android:cmake_legacy_toolchain config #13459

Conversation

jcar87
Copy link
Contributor

@jcar87 jcar87 commented Mar 16, 2023

Changelog: Feature: Add tools.android:cmake_legacy_toolchain configuration useful when building CMake projects for Android. If defined, this will set the value of ANDROID_USE_LEGACY_TOOLCHAIN_FILE. It may be useful to set this to False if compiler flags are defined via tools.build:cflags or tools.build:cxxflags to prevent Android's legacy CMake toolchain from overriding the values.

Docs: conan-io/docs#3146

Close #13374

@jcar87 jcar87 requested review from AbrilRBS and memsharded March 16, 2023 12:08
@memsharded memsharded added this to the 2.0.3 milestone Mar 17, 2023
Copy link
Member

@memsharded memsharded left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good!

conan/tools/cmake/toolchain/blocks.py Outdated Show resolved Hide resolved
conan/tools/cmake/toolchain/blocks.py Outdated Show resolved Hide resolved
conan/tools/cmake/toolchain/blocks.py Outdated Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

[question] CXX flags not applied with Android toolchain
3 participants