cmake --workflow: additional arguments not always handled
Options of the form -DSOMEVAR=value appended to cmake --workflow are silently ignored.
The documentation for workflow presets seems to imply that no options can be given after cmake --workflow --preset=XXX
. I half expected to be able to set CMake cache variables for the configure preset by appending -DSOMEVAR=value
to the command line, or at least for that to be an error with a message saying that is not supported. However, such options are silently accepted, but discarded. We should either allow cache variables to be set like this for workflow presets, or catch such usage and report an error.
Edited by Brad King