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

Malfettone, Kris Kris.Malfettone at sig.com
Wed Feb 22 16:11:52 EST 2017


Is there a bug tracker or somewhere that I should report this as well?  I just want to make sure I put the right information in the right spot so the ninja generator maintainer might see it.

From: Nils Gladitz [mailto:nilsgladitz at gmail.com]
Sent: Wednesday, February 15, 2017 9:41 AM
To: Malfettone, Kris <Kris.Malfettone at msx.bala.susq.com>; cmake at cmake.org
Subject: Re: [CMake] Potential bug: Having executables named "test" causes Ninja generator to generate ambiguous rules...

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

________________________________

IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction, disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments is free of viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170222/889c2e5b/attachment.html>


More information about the CMake mailing list