[cmake-developers] Invalid/Reserved target names
Brad King
brad.king at kitware.com
Mon Nov 18 10:14:01 EST 2013
On 11/18/2013 10:09 AM, Nils Gladitz wrote:
> Can I keep the extracted method in cmGeneratorExpression or would there
> be a more appropriate location for it?
Perhaps a static method in cmGlobalGenerator would be best since
that (+subclasses) is where all the reserved names get defined.
Add it near the block starting with GetAllTargetName and include
a comment warning that adding more reserved target names in the
future will require a policy.
Note that the sweeping topic I mention in this thread:
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/8660
also modified cmGlobalGenerator.* so you may get conflicts. If
so, please wait until after the pause is lifted before proceeding.
Thanks,
-Brad
More information about the cmake-developers
mailing list