Should --fresh be supported when using a workflow preset

One could mount an argument that --fresh makes sense as a supported argument when using the new cmake --workflow functionality added in CMake 3.25. At the moment though, if you append --fresh, there’s a message to say that’s an unknown argument (not even a warning, just an ordinary message) and execution continues on. This is another case of questionable parsing behavior as already identified in issue 24073, but my question here is whether we think we should support --fresh with --workflow.

CC: @brad.king @kyle.edwards

1 Like

Yes, I think passing --fresh should work in combination with a workflow preset.

We can subsume that in the argument parsing issue 24073.

2 Likes