[cmake-developers] Invalid/Reserved target names

Brad King brad.king at kitware.com
Fri Nov 15 11:39:48 EST 2013


On 11/15/2013 04:05 AM, Nils Gladitz wrote:
> This list might not be complete but I assume it would be at least:
>      all, help, clean, edit_cache, rebuild_cache, test, package, 
> package_source, PACKAGE, ZERO_CHECK
> 
> Would anyone be opposed to this?
> Could I extend the existing policy, should I create a new one or would 
> it be ok without any policy even?

The policy has not been released yet so I think it would be fine
to extend it to cover this.  Please include documentation and
test cases.

Also look through all generators to find all reserved target names.
In addition to those you listed there is also at least ALL_BUILD.

Thanks,
-Brad



More information about the cmake-developers mailing list