On 04/24/2013 07:14 AM, Stephen Kelly wrote: > It's becoming conventional to use a namespace like NS:: for imported > targets. Would it be possible to assume that if linking to something which > has double colons, then it must be an imported target, and if we can't find > such an imported target, to report an error at generate time?
Yes, this sounds reasonable. > For makefile generators and xcode it is not possible to use create > non-imported targets in a buildsystem. On Windows it doesn't seem to be > possible either (the : is mistaken for a drive delimiter). It does currently > work with Ninja though, so a policy may be needed if it's a workable solution. As part of this you could make the policy validate all target names against the genex target name recognition regex. -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
