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
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to