[cmake-developers] SONAME on APPLE?
Brad King
brad.king at kitware.com
Tue Jul 10 08:33:20 EDT 2012
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
More information about the cmake-developers
mailing list