Is it possible to somehow redirect the configuration of all try_compile calls (source and project based) to stdout or to a file, and also the full verbose build commands used?
CMakeFiles/CMakeOutput.log and CMakeFiles/CMakeError.log seem to be contain info only for source based try_compile calls, and CMakeOutput.log doesn’t contain the full verbose build command. Only CMakeErrorLog contains the full failing build command, but of course only if it fails.
I’m aware of --debug-trycompile but that only works for one compile test.
The intention is to use the feature in a CI environment to have a complete log file for troubleshooting issues.
I suspect there is no such feature, so would it be feasible to add it? Any known blockers why that would not be achievable?