[extra-cmake-modules] modules: Revert "use the NAME_PREFIX only for the test, not for the executable"

Alex Merry alex.merry at kde.org
Mon May 12 14:29:48 UTC 2014


On 12/05/14 13:33, Alex Richardson wrote:
> I guess this is only useful on Windows where all executables that are built 
> land in the same directory. Having them prefixed makes sure there is no 
> conflict there. But otherwise it serves very little purpose having the targets 
> with the prefix.

Logical target names must be globally unique, regardless of what
subdirectory they are defined in. The same is not necessarily true of
the OUTPUT_NAMEs of those targets (except, as you have noted, on Windows).

Alex


More information about the Kde-buildsystem mailing list