Tests/CXXModules: add a test case for VS generation without flags

Previously, the `ScanSourceForModuleDependencies` flag was not added to
the VS project if "nothing" prompted custom flags.

See: #25519
4 files changed