[CMake] automoc autorcc

Norbert Pfeiler norbert.pfeiler+cmake at gmail.com
Thu Jan 29 20:41:28 EST 2015


>
> > 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.


Well, I’m using CMake 3.1.1, so apparently it’s not.

> 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.


Ok, sad to hear.

Best, Norbert.

2015-01-29 21:26 GMT+01:00 Stephen Kelly <steveire at gmail.com>:

> 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.
>
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150130/54f2085c/attachment-0001.html>


More information about the CMake mailing list