[Qt5-feedback] Build system requirements for Qt5

Alexander Neundorf neundorf at kde.org
Thu Jun 9 13:56:21 CEST 2011


On Thursday 09 June 2011, Oswald Buddenhagen wrote:
> On 06/09/11 09:36, ext Alexander Neundorf wrote:
> > There is absolutely nothing wrong if you write a replacement for make, a
> > generator for that can be added to cmake.
> 
> /me shakes head in resignation
> 
> > This is not possible with the cmake features as they are currently
> > available with the current language.
> 
> q.e.d.

One more thing which is global in cmake is targets.
Targets need unique names in a cmake project.

You can create a library in some subdirectory and link against it in other 
directories, not only subdirectories of that one.

To me, this sounds very useful.

And from my POV this alone makes it necessary to run cmake over the whole 
project after changing something somewhere, because you probably want to know 
which effects adding or removing or renaming or changing properties of a 
library in some subdir has for its uses in the project.

So, in your declarative buildsystem I will only be able to use libraries in 
subdirectories of where they were created ?

Alex


More information about the Qt5-feedback mailing list