On 07/10/2012 05:55 AM, Stephen Kelly wrote:
>> Ideally the IMPORTED_SONAME should match the shared library id of
>> the actual library file.  That's what CMake wants to know.
> 
> ... was not the full story.

Sure it is.  Whatever *id* (install name) is *in* the file goes
in IMPORTED_SONAME.  What is in the file might vary though.

> If creating IMPORTED targets by hand is a valid usecase (I think it is - 
> FindQt4 does it too, and there are benefits for other Find modules to do 
> so), I could try to document this more clearly.

Yes.  Ideally every find module would come back with a documented
set of imported targets representing what was found.  This would
be a huge conversion effort and there may be cases where it is
not possible for some projects, though I can't name any off the
top of my head.

-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