Brad King wrote:

> On 11/29/2012 02:22 PM, David Cole wrote:
>> But with the multiple "OR" technique, if there is a single target name
>> clash, NONE of the targets will be included properly
> 
> Good catch.  I read it as "AND", which it should be:
> 
>   if(TARGET a AND TARGET b AND ...)
>     return()
>   endif()
> 

I've pushed an implementation of 'all or none or warning' to next as the 
branch safe-target-file-import.

Thanks,

Steve.


--

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