[Interest] Slow compiling on Mac
imikejackson at gmail.com
Thu Aug 30 13:23:34 CEST 2012
On Aug 30, 2012, at 7:20 AM, Konstantin Tokarev wrote:
> 30.08.2012, 15:17, "Michael Jackson" <imikejackson at gmail.com>:
>> In QtCreator it uses "Make" to do the compile and by default it will only use a single thread Where Xcode would by default use all your cores to compile. You need to add a "-jN" to the "make argument" in the "Project" tab of QtCreator. Where "N" is the number of cores on your computer. That will speed things up.
> Actually, it's may be better to use N+1 instead of N.
> Also, xcodebuild is know to be slower than GNU make when running the same number of parallel jobs
When I use QtCreator I simply have CMake generate Makefiles. Not sure what the OP is doing. I tend to stay away from Xcode for my own personal reasons.
More information about the Interest