Is it possible to compile MOC and UI files of Qt in parallel with a Visual Studio 2010 project?
Do I have to build a parallel with the zoom on the QMake-specific make file instead of adding a custom build tool command for each UI / MOC file in the project?
Using the / MP flag does not compile MOC and UI files in parallel, because they use custom build tools. Only standard compiler is started concurrently Quoted from: < Blockquote> multicore processor If you have a multicore processor and VS 2008 Express or higher then you can create programs on all core. The Visual C ++ 2008 / S / MP flag tells the compiler to compile files in the same project in parallel. I usually get linear speed on the compiling phase. I link phase is still sequential But most of the project compilation is dominant. Add these lines to the .pro file for the release version: QMAKE_CXXFLAGS_RELEASE + = -MP [processMax] then recreate the app.
Comments
Post a Comment