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

Nils Gladitz nilsgladitz at gmail.com
Wed Feb 15 03:35:40 EST 2017


On 14.02.2017 22:53, Malfettone, Kris wrote:
>
> If so, are executables named “test” no longer supported?
> Am I missing something or wrong in some way?
>

Issues existed before 3.0 but since 3.0 "test" and similarly problematic 
target names have been explicitly reserved.

Any CMake Version >= 3.0 will issue a warning (when the required version 
is < 3.0) or an error (when the required version is >= 3.0) by default:
     https://cmake.org/cmake/help/v3.8/policy/CMP0037.html

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


More information about the CMake mailing list