Merge topic 'cxx-inspect-without-scanning' into release-3.28

6df925b595 cxxmodules: Do not scan sources while testing the compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9494