[Development] Proposing CMake as build tool for Qt 6

Kevin Kofler kevin.kofler at chello.at
Tue Jun 18 10:23:31 CEST 2019


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=…

        Kevin Kofler




More information about the Development mailing list