mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
b9c99830c5
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
8 lines
76 B
C++
8 lines
76 B
C++
import a.same;
|
|
import b.same;
|
|
|
|
int main()
|
|
{
|
|
return a_same() + b_same();
|
|
}
|