Skip to content

VS: Fix C++ modules in source files with the same name

Brad King requested to merge brad.king/cmake:vs-cxxmodules-same-src-name into master

When multiple source files in a single target have the same name, we already set ObjectFileName explicitly to avoid a .obj collision. For C++ module sources, set Module{Output,Dependencies}File to avoid .ifc and .module.json collisions.

Fixes: #25038 (closed)
Backport: release

Merge request reports

Loading