On Wednesday 20 February 2013, Brad King wrote:
> On 02/20/2013 03:44 AM, Stephen Kelly wrote:
> > Brad King wrote:
> >> I think what we need is for the cmTarget::LinkInterface structure
> >> to have a new "TargetNames" member populated by ComputeLinkInterface
> >> from a new "INTERFACE_TARGET_DEPENDS" property (better names?).
> >> On export of the link interfaces the net collection of target names
> >> that refer to targets imported by the exporting project should be
> >> put in this property.  Then cmComputeLinkDepends can complain when
> >> following the link interface and a library with one of these names
> >> cannot be found as a target.
> > 
> > I may have missed something, but I've pushed a missing-imported-targets-
> > error branch to my clone which is quite simple. I haven't put a lot of
> > thought into it. It's just a proof of concept.
> 
> Wonderful start.  Thanks for working on it.
> 
> Alex, does this do what you want?

Looks good.
But shouldn't the IMPORTED_LINK_DEPENDENT_LIBRARIES libs be also taken into 
account ?

Alex
--

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