Skip to content

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

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:cm-drop-args-list
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:cm-drop-args-list

Conversation

@vszakats

@vszakats vszakats commented Nov 6, 2024 •

Copy link
Copy Markdown
Member

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
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
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: curl#14936 (comment)
Follow-up to 1fdea16 curl#14802
Closes curl#15501
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
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 curl#15501
Closes curl#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