[Development] [cmake-developers] Installing Qt5Config.cmake from the Qt repo?
Oswald Buddenhagen
oswald.buddenhagen at nokia.com
Wed Nov 2 12:37:21 CET 2011
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. then, how do you define "build
configuration" in a build system agnostic way? zero chance.
for a half-baked non-solution, just use pkg-config ...
More information about the Development
mailing list