When the generator used for CMake is a multi-configuration generator (such as VS), the arguments passed to dotest are not currently configured correctly. There are a couple of issues:
- The per-configuration files are all generated for the same configuration since the for loop overwrites the properties
- Not all of the parameters are configured in the lit cfg, so they end up with %(build_mode)s as configuration and they point to non-existent paths
Interesting, I wonder why this works for the Xcode generator.