[Interest] cmake and auto-generated sources

Konstantin Tokarev annulen at yandex.ru
Fri Sep 21 19:22:45 CEST 2018



21.09.2018, 20:17, "Thiago Macieira" <thiago.macieira at intel.com>:
> On Friday, 21 September 2018 07:58:51 PDT René J.V. Bertin wrote:
>>  I think qmake-based projects generate those things as the first step during
>>  a make, while cmake-based projects generate them on an as-needed basis.
>
> Both do the same at the same time, during make.
>
> You should build your project once for all the generated files to be present.

There is a sligh difference though: cmake's automoc re-scans source tree on each
make to determine if new files need to be moc'ed, while with qmake it's done only
when qmake is executed

>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin




More information about the Interest mailing list