[cmake-developers] kwsysProcess threadsafety

Alexander Neundorf neundorf at kde.org
Mon Jan 8 14:50:06 EST 2018


On 2018 M01 8, Mon 10:32:22 CET Jean-Michaël Celerier wrote:
> > 3) Abandon the idea to parallelize AUTOMOC/UIC
> 
> please no ! moc is a huge bottleneck in my builds (to the point that using
> verdigris <https://github.com/woboq/verdigris> instead ends up having
> faster build time overall).

you could also just not use automoc and use the "manual" moc-wrapper macros. 
This should make the build-time overhead go away.
Instead the developer has to add the header file to be moc'ed to the 
CMakeLists.txt (personally I consider this acceptable).

Alex



More information about the cmake-developers mailing list