When doing qtbase builds, Coin extracts the sources and automatically calls configure and make.
To start doing some initial CMake builds on the CI, we could modify the configure script to skip all the usual things it does, and simply create a build dir and invoke the CMake binary. This would require the work in
QTBUG-74138 to be done first.
I think a nice scenario would be for the script to pass through parameters that are cmake related (-DFOO=bar) and look for Qt-style options such as -foo bar. For the latter, I think that we should parse them and decide to either
(1) determine that it's a supported option that we can map easily to cmake (such as -developer-build, -prefix, -datadir, etc. for which we have corresponding cmake cache variables)
(2) determine that it is a known "old" Qt option but now we don't support mapping it automatically anymore (maybe it doesn't make sense anymore) and instead display the config_help.txt contents.