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

Backport cppstd_flag from Conan 2.x #15731

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

uilianries
Copy link
Member

@uilianries uilianries commented Feb 22, 2024

Related to the PR #15710, this PR backports the method available in Conan 2.x

In Conan 1.x we have cppstd_flag available already, but it receives settings only is under conans.tools.

This change creates a wrapper to make it available under conan.tools.build and should pass conanfile instead.

Changelog: Feature: Promote cppstd_flag in the new conan.tools.build module.

Docs: conan-io/docs#3602

  • Refer to the issue that supports this Pull Request.
  • If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • I've read the Contributing guide.
  • I've followed the PEP8 style guides for Python code.
  • I've opened another PR in the Conan docs repo to the develop branch, documenting this one.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
@memsharded memsharded merged commit f71f2d1 into conan-io:develop Feb 22, 2024
2 checks passed
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.

None yet

2 participants