cmake --workflow: add --fresh option

Fixes: #24073
7 files changed