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