-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
cmake: restore cmake args list in buildinfo.txt
#15563
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
Conversation
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
/cc @dg0yt |
Did you test how much this writes on CMake re-run? I would assume it includes all variables which are also in |
The only place the result appears is when CI is detected, and re-runs are typically not done there. The unnecessary work is still bad, so how about I'd limit this to CI runs like already done for If still not good we might limit it further to curl CI runs. |
Running an initial out-of-tree
|
For performance.
I plan to merge this, unless there is some remaining concern. |
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
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