On 03/26/2013 04:07 PM, Alexander Neundorf wrote:
> there is a difference here in that the include directory properties are a new 
> feature, so this wouldn't break existing code.
> It would force developers who make use of the new feature to split exported 
> targets into individual components and support components properly in their 
> Config.cmake files.

I don't want to force anyone to do that.  It is perfectly reasonable
to have a monolithic targets file.

> I'm ok with it if the error occurs at cmake time, I'd be even more ok if a 
> successful find_package() would continue to tell me that everything I need 
> has 
> been found.
> This is the case with find-modules, I see this as a good thing.

find_package doesn't know everything you need because only after it
returns does the code start referencing some subset of the targets.

-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