[Development] Improving CMake support for static builds

Thiago Macieira thiago.macieira at intel.com
Fri Oct 12 23:37:39 CEST 2018


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://github.com/OSSIA/score/blob/master/base/app/StaticApp.cmake
> 
> I think that in Qt the pkg-config files are generated by a perl script,
> maybe the same could be used for static builds ?

syncqt only generates the headers and the .pri files that qmake uses to find 
the headers.

The pkg-config files and the libtool files are generated by qmake itself.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Development mailing list