On-demand trace support
Targeting more effective development and debugging of CMake scripts, I would like the equivalent of bash
set +x, i.e. set a variable in the script being developed to enable tracing of script execution on demand.
Enables the equivalent of
cmake --trace or
cmake --trace-expand until disabled.
What do you think?