View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000015||FreeCAD||Feature||public||2009-09-28 15:37||2009-11-30 16:45|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Target Version||Fixed in Version|
|Summary||0000015: Support PCH with cmake for Visual Studio|
I have tested building the sources with pre-compiled headers (PCH) enabled
and the generated project files out of cmake which doesn't support PCH at
I have built the complete sources for release mode in Visual Studio.
With PCH: 8m20s
Without PCH: 22m10s
This means it needs nearly three times longer without PCH than with. I
think this not acceptable.
|Tags||No tags attached.|
when the basic stuff in 0.9 is runing with cMake we can try to switch the
PCH on again, thought its not really supported by cMake yet.
Could already speed up the build process by 0000023:0000020% by removing the Qt4All.h
includes in header files and using the actually needed headers.
In FreeCAD/Gui there is still a huge potential to speed it up because many
.cpp files include unneeded headers.
PCH support for Visual Studio is implemented now. At the moment FreeCADBase, FreeCADApp and FreeCADGui use the PCH stuff which reduces the build time dramatically.
Further modules may follow if needed. Nevertheless this issue can be regarded as solved.
||Note Added: 0000016|
||Note Added: 0000017|
||Status||new => assigned|
||Assigned To||=> Jriegel|
|2009-11-30 16:45||wmayer||Note Added: 0000042|
|2009-11-30 16:45||wmayer||Status||assigned => closed|
|2009-11-30 16:45||wmayer||Resolution||open => fixed|
|2009-11-30 16:45||wmayer||Description Updated|