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.

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.

As i’ve found, the reasoning for the automoc case seems to be, that
unconstrained parallelization will flood the machine and setting up logic
to constrain that is not the goal.
Shouldn’t cmake just generate independent build targets and let the build
system handle the parallelization?
I couldn’t find anything about the autorcc case though.

automoc and autorcc are supposed to replace their corresponding macros and
potentially be better than them.
Is there something i’m missing?

Regards, Norbert Pfeiler.
-- 

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

Reply via email to