[Insight-users] precompiled headers

Rupert Brooks rupe.brooks at gmail.com
Fri May 5 15:28:05 EDT 2006


Wiki issue is fixed and my post is there now.
--rupert

On 5/5/06, Rupert Brooks <rupe.brooks at gmail.com> wrote:
> Thanks Luis,
>
> Explicit instatiation is, i think, the right way to go on this.  Mind
> you, a slight speed increase might still be possible even after that
> using precompiled headers.
>
> But in the short term, if anyone was, like me, burning up many lost
> minutes waiting for builds, using the precompiled headers really
> helped, and i got it going in under an hour.  My builds went from
> minutes to seconds, so i consider it time well spent.
>
> I tried to add some comments on the wiki this morning, but it was
> blocked due to having an external link. Im not sure if that means that
> a reviewer unblocks it later, or if i will have to add it again later.
>  Anyway, if never appears i will add it again later minus the links
>
> Cheers
> Rupert
>
> On 5/2/06, Luis Ibanez <luis.ibanez at kitware.com> wrote:
> >
> > Hi Rupert,
> >
> >
> > Please take a look at the discussion regarding Explicit Instantiation:
> >
> >     http://www.itk.org/Wiki/Proposals:Explicit_Instantiation
> >
> > This is work in progress, but we expect it to be available in ITK
> > before September this year.
> >
> >
> >
> > Please feel free to add your comments to this Wiki page, probably
> > by adding a section at the end. Make sure that you identify the section
> > as an "alternative methodology" or something along those lines.
> >
> >
> >
> >     Regards,
> >
> >
> >        Luis
> >
> >
> >
> > ==================
> > Rupert Brooks wrote:
> > > 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
> > > _______________________________________________
> > > Insight-users mailing list
> > > Insight-users at itk.org
> > > http://www.itk.org/mailman/listinfo/insight-users
> > >
> > >
> >
> >
> >
>
>
> --
> --------------------------------------------------------------
> Rupert Brooks
> McGill Centre for Intelligent Machines (www.cim.mcgill.ca)
> Ph.D Program in Intelligent Systems
> http://www.cyberus.ca/~rbrooks
>


--
--------------------------------------------------------------
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