[Development] [cmake-developers] Installing Qt5Config.cmake from the Qt repo?

Alexander Neundorf neundorf at kde.org
Wed Nov 2 14:56:32 CET 2011


On Wednesday 02 November 2011, Oswald Buddenhagen wrote:
> On 10/31/11 22:20, ext Alexander Neundorf wrote:
> > Not sure what the other cmake developers would think about supporting an
> > additional file format for the Config.cmake files, e.g. xml or json, so
> > they could be easily used and generated also by other tools. I.e. not
> > only by/for cmake, but basically a standard format for installed
> > libraries to provide information about themselves.
> > 
> > Something like:
> > <libs>
> > 
> >    <lib>
> >    
> >       <name>QtCore</name>
> >       <configs>debug;release</configs>
> >       <location config="debug">/usr/lib/libQtCore.so</location>
> >       <include>/usr/include/QtCore</include>
> >       ...
> >    
> >    </lib>
> > 
> > </libs>
> 
> that idea is a non-starter.
> it starts with dependencies. 

What problems do you see there ?

> then, how do you define "build
> configuration" in a build system agnostic way? zero chance.

At least for Windows it should be clear. There are debug and non-debug builds, 
which are AFAIK relatively clear separated.
Please elaborate on where you see issues.

Alex



More information about the Development mailing list