Re: [Development] Improving CMake support for static builds

2018-10-12 Thread Thiago Macieira
On Friday, 12 October 2018 11:32:10 PDT Jean-Michaël Celerier wrote: > > but there is no information for the > > flags needed to link against system libraries (freetype, harfbuzz, > etc.) > > it would be so nice to add them ! currently I have to use the following > chthonic horror: > https://git

Re: [Development] Improving CMake support for static builds

2018-10-12 Thread Kyle Edwards
On Fri, 2018-10-12 at 20:32 +0200, Jean-Michaël Celerier wrote: > it would be so nice to add them ! currently I have to use the > following chthonic horror:  https://github.com/OSSIA/score/blob/maste > r/base/app/StaticApp.cmake Yep, this is exactly what I'm trying to fix! Kyle_

Re: [Development] Improving CMake support for static builds

2018-10-12 Thread Jean-Michaël Celerier
> but there is no information for the flags needed to link against system libraries (freetype, harfbuzz, etc.) it would be so nice to add them ! currently I have to use the following chthonic horror: https://github.com/OSSIA/score/blob/master/base/app/StaticApp.cmake I think that in Qt the pkg-c

Re: [Development] Improving CMake support for static builds

2018-10-12 Thread Matthew Woehlke
On 12/10/2018 15.11, Kyle Edwards wrote: > New Qt developer here. I'm trying to improve Qt's support for static > builds using CMake [...] See also https://bugreports.qt.io/browse/QTBUG-38913. This has been languishing for entirely too long; it will be great if someone can finally fix it! Hopeful

[Development] Improving CMake support for static builds

2018-10-12 Thread Kyle Edwards
Hello everyone, New Qt developer here. I'm trying to improve Qt's support for static builds using CMake - specifically, encoding transitive dependencies in the *Config.cmake files. I see that these files already have inter- module dependencies encoded in the exported targets' INTERFACE_LINK_LIBRAR