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

cmake: drop cmake args list from buildinfo.txt #15501

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Nov 6, 2024

Collecting the args list has the undesired side-effect of silencing
CMake warnings about unused variables passed via the command-line.

Drop it till a better method is found to retrieve them.

Reported-by: Kai Pastor
Ref: #14936 (comment)
Follow-up to 1fdea16 #14802

It has the side-effect of silencing CMake warnings about unused
variables passed via the command-line.

Drop it till a better method is found to retrieve this.

Reported-by: Kai Pastor
Ref: curl#14936 (comment)
Follow-up to 1fdea16 curl#14802
@vszakats vszakats added the cmake label Nov 6, 2024
@github-actions github-actions bot added the build label Nov 6, 2024
@vszakats vszakats closed this in 96edb5f Nov 8, 2024
@vszakats vszakats deleted the cm-drop-args-list branch November 8, 2024 09:52
vszakats added a commit to vszakats/curl that referenced this pull request Nov 13, 2024
This feature was recently dropped because of a bad side-effect of
silencing unused cmake command-line warnings.

Fix this issue by retrieving variable values using `get_property()`,
instead of accessing the variables directly. It allows restoring
this feature without the bad side-effect.

Follow-up to 96edb5f curl#15501
vszakats added a commit that referenced this pull request Nov 14, 2024
This feature was recently dropped because of a bad side-effect of
silencing unused cmake command-line option warnings.

Fix this issue by retrieving variable values using `get_property()`,
instead of accessing the variables directly. It allows restoring
this feature without the bad side-effect.

Also limit the logic to CI runs.

Follow-up to 96edb5f #15501
Closes #15563
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant