[CMake] automoc autorcc

Stephen Kelly steveire at gmail.com
Thu Jan 29 15:26:34 EST 2015


Norbert Pfeiler wrote:

> Hello,
> i’m curious about 2 things and therefore wanted to ask:
> 
> When i use qt5_add_resources and some of my resources change they get
> recompiled during the next invocation of my build tool. Whereas when i use
> cmakes autorcc this is not the case.

This was fixed in CMake 3.1.

> 
> Secondly, with qt5_wrap_cpp every file gets processed in parallel – well,
> because they don’t depend on each other. In contrast, automoc mocs
> everything in sequence (for one target) which is a noticeable bottleneck
> on an 8 core machine.

This was part of the original design of the automoc feature. Maybe it could 
be done better, but as far as I know, no one is working on it.

Thanks,

Steve.




More information about the CMake mailing list