Skip to content

Support CMAKE_SYSROOT in CMakeToolchain - #11317

Merged
memsharded merged 17 commits into
conan-io:developfrom
czoido:sysroot_support
May 25, 2022
Merged

memsharded merged 17 commits into
conan-io:developfrom
czoido:sysroot_support

Conversation

@czoido

@czoido czoido commented May 23, 2022

Copy link
Copy Markdown
Contributor

Changelog: Feature: Add CMAKE_SYSROOT support for CMakeToolchain.
Changelog: Feature: Add --sysroot support for AutotoolsToolchain and remove support for cpp_info.sysroot in AutotoolsDeps.
Changelog: Feature: Add tools.build:sysroot conf.

Docs: conan-io/docs#2564

@czoido czoido added this to the 1.49 milestone May 23, 2022
@czoido
czoido requested a review from memsharded May 24, 2022 07:48
Comment thread conan/tools/cmake/toolchain/blocks.py Outdated
Comment thread conan/tools/cmake/toolchain/blocks.py Outdated
@czoido
czoido marked this pull request as draft May 24, 2022 13:44
@czoido

czoido commented May 24, 2022

Copy link
Copy Markdown
Contributor Author

The only thing, maybe better generalize the name to something like tools.buid:sysroot, so it makes sense for autotools and other build systems.

Yes, I'll check the autotools case as well and make something generic if needed 👍

@memsharded memsharded left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looking good

Comment thread conan/tools/cmake/toolchain/blocks.py Outdated
Comment thread conan/tools/gnu/autotoolstoolchain.py Outdated
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.

2 participants