[Development] Proposing CMake as build tool for Qt 6

Christian Gagneraud chgans at gmail.com
Tue Jun 18 10:36:16 CEST 2019


On Tue, 18 Jun 2019 at 20:24, Kevin Kofler <kevin.kofler at chello.at> wrote:
>
> Christian Gagneraud wrote:
> > Please elaborate:https://gcc.gnu.org/install/configure.html
> >
> > Just from the top of the document:
> > --with-pkgversion
> > --with-bugurl
> > ...
> > --enable-shared
> > --enable-multiarch
> > ...
> >
> > Your argumentation is ill-formed.
>
> Of course there are examples where it is clear cut (but as Thiago pointed
> out, many projects get it wrong even in such cases). But see your earlier
> --with-pcre example: typically, building with PCRE support also enables some
> feature that depends on it. This is the case for many such switches in
> practice.
>
> And your --with-pkgversion and --with-bugurl cases show another use of
> --with that is completely unrelated to the external dependencies: passing
> some non-boolean value to the configure script. In CMake, those would just
> be, e.g.: -DBUG_URL:STRING=…

Basically your argumentation is: I'm right, they are all wrong. Only
CMake can save us all.

No very convincing.

Chris


More information about the Development mailing list