[Development] Proposing CMake as build tool for Qt 6

Konstantin Tokarev annulen at yandex.ru
Mon Jun 17 17:56:15 CEST 2019



17.06.2019, 18:51, "Bogdan Vatra via Development" <development at qt-project.org>:
> Hi,
>
> [...]
>>  > qnx
>>
>>  you mean like software companies using Qt do, today ?
>>  https://github.com/mapbox/mapbox-gl-native/blob/master/platform/qt/qnx.cmake
>>  > vxworx
>>
>>  VxWorks ships with CMake so there must be at least some amount of support. (
>>  https://tp.prosoft.ru/docs/shared/webdav_bizproc_history_get/234075/234075/
>>  ?ncc=1&force_download=1 )
>
> [...]
>
> Are you seriously thinking that Qt is going to use scripts from some random
> github projects ?!?!?

There is a choice: with cmake you either spend hours yourself developing stuff,
or reuse results of those who went through that hell before you :)

>
>>  > android and whatever next os is coming.
>>
>>  Oh come on (bis). CMake has been one of the official android build systems
>>  for close to two years now : https://developer.android.com/ndk/guides/cmake
>
> Your statement is misleading! Can you use the "official" cmake to build an
> Android *PACKAGE*? (e.g. build the c/c++ bits for all android ABIs in one go,
> build the java, aidl, etc files, add resources and finally create & sign your
> APK? CMake is spawned by gradle (for each ABI) and is used *ONLY* to build the
> C++ files because people refused to port their cmake projects to gradle. This
> means that gradle is the *official* build system not cmake!
> You either don't know how an Android package is built or if you know then
> you're intentionally lie people...
>
> Same for iOS, Fuchsia and other OSs that you enumerate: Can you use cmake to
> build a *PACKAGE*?

There is CPack thing that can build packages. No idea if it supports Android in particular.

-- 
Regards,
Konstantin



More information about the Development mailing list