hello cmake community, just re-pasting what I've already posted on Qt
forums:



I'am experiencing some abysmal compilation time when it comes to building a
relatively small Qt5 app in windows.

The problem resembles alot the reported here issue :
http://lists.qt-project.org/pipermail/interest/2015-January/014812.html

In case one uses cmake+qt5 to build on windows and have additional projects
(in my case VTK/ITK/Boost)
moc.exe will go first over all visible to cmake paths, some windows ones,
then finally in C:/Qt to find its headers.
So for generating one cpp file from moc.exe I end up with a few million IO
operations! ine can use procmon.exe to inspect moc.exe on windows.
Rebuilding from scratch takes ages compared to what takes <5min before
switching to Qt :((((

MOC cannot go in parallel (pre-processor!!!)

at that point I'm faced with a few options to explore, however I expect
something of official HOW-TO on cmake+qt integration.

It might be a Qt5 or/and Cmake issue, hard to tell, since I'm not expert in
either.

Can someone with more inside take a look please !?
-- 

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