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

adding cli-args to CMake new helper calls #10573

Merged
merged 2 commits into from
Feb 15, 2022

Conversation

memsharded
Copy link
Member

@memsharded memsharded commented Feb 14, 2022

Changelog: Feature: Add CMake variables, cli arguments and native build system arguments to new conan.tools.cmake.CMake helper.
Docs: conan-io/docs#2424
Close #10515.
Close #10562

@memsharded memsharded added this to the 1.46 milestone Feb 14, 2022
Copy link
Contributor

@lasote lasote left a comment

Choose a reason for hiding this comment

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

About the cmake.configure(variables={"MYVAR": "MYVALUE"}), shouldn't they be set in the cmake toolchain? Wouldn't this go against dummy builds?
I'm reading the associated issue and now I get it. I would make sure that we explain it correctly in the documentation, these variables should be used only when you have no other choice.

@lasote lasote merged commit 7b004e4 into conan-io:develop Feb 15, 2022
@memsharded memsharded deleted the feature/new_cmake_cli_args branch February 15, 2022 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants