[Insight-users] precompiled headers

Rupert Brooks rupe.brooks at gmail.com
Tue May 2 10:24:54 EDT 2006


Hello

I'm just wondering if anyone here has experience setting up ITK CMakes
with precompiled headers.  It seems that CMake does not yet support
automatic handling of precompiled headers (bug #1260).  I don't blame
them - different compilers work quite differently.

Im posting this question here cause ITK seems to benefit a lot from
using precompiled headers due to the heavy use of templates,
especially on large projects.  My own builds are speeding up by a
factor of about 6 times.  Needless to say, this is helping my
productivity ;-)

Anyway - if theres already an established method i will use it.  If
not, i'll put what i figured out in the wiki.

--rupert b

--
--------------------------------------------------------------
Rupert Brooks
McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
Ph.D Program in Intelligent Systems
http://www.cyberus.ca/~rbrooks


More information about the Insight-users mailing list