[CMake] Potential bug: Having executables named "test" causes Ninja generator to generate ambiguous rules...

Nils Gladitz nilsgladitz at gmail.com
Wed Feb 15 09:40:39 EST 2017


On 15.02.2017 15:16, Malfettone, Kris wrote:
>
> Just noticed a problem in my example.  In my attempt to simplify my 
> example I moved both outputs into the same folder which in my opinion 
> is invalid because both output file names are the same.  However, the 
> same basic setup does reproduce the problem if you move the two 
> targets into their own subdirs. I was just trying to avoid describing 
> that in the email. Here is what I mean below:
>

I thought you meant you had a target named "test" but apparently only 
your output is named that way.
That certainly isn't covered by the existing policy.

Nils
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170215/6fb19ff4/attachment.html>


More information about the CMake mailing list