[CMake] Making it easier for downstreams to use my library

Stephen Kelly steveire at gmail.com
Sat Apr 10 06:34:46 EDT 2010


Michael Wild wrote:

> 
> On 9. Apr, 2010, at 20:20 , Alexander Neundorf wrote:
>>> [...]
>>> 
>>> which will create IMPORTED targets with the same names as in the
>>> Grantlee project. So you can then set the variables
>>> 
>>> set(Grantlee_CORE_LIBRARIES grantlee_core ${QT_QTCORE_LIBRARIES})
>>> set(Grantlee_GUI_LIBRARIES grantlee_gui ${QT_QTGUI_LIBRARIES})
>> 
>> I think this is not necessary at all when using the exported library
>> targets, all the dependencies should be there already.
> 
> Oops, yes, that's right, otherwise this feature wouldn't be so great after
> all ;-)
> 
> Michael

Hi all,

Thanks for the tips and pointers. This is quite a big change and there's a 
few things I'll need to try out, so I'm going to leave it as is for now and 
fix this in a point release later.

All the best,

Steve.



More information about the CMake mailing list