Files
cmake/Tests/RunCMake/IntermediateDirStrategy/Collides-stderr.txt
T
Ben Boeckel bc7fac6ad3 cmGeneratorTarget: detect colliding target directories
Some projects might get unlucky and have targets which collide in the
sha3-512 hash (truncated to 4) in a directory which also collides in the
same way (easily done by sharing it). Note such problems as potentially
colliding and offer potential remedies.

Also add a test which generates the error.

Closes: #27465
2026-02-05 12:33:56 -05:00

11 lines
487 B
Plaintext

CMake Warning in collides/CMakeLists.txt:
The 'CubeTestPluginLogic' and 'TeamworkServerBlobStoreUploadSessionStore'
targets share an intermediate directory
.*/Tests/RunCMake/IntermediateDirStrategy/Collides-build/(collides/)?.o/039c43fd
which may cause problems with the build graph. This project is not
compatible with the `SHORT` target intermediate directory strategy.
Possible remedies include: moving the target into different directories or
renaming a target.