Re: [gtkmm] precompiled headers
- From: Christer Palm <palm nogui se>
- To: Cristian Adam <drac gmx net>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] precompiled headers
- Date: Wed, 21 Jul 2004 14:12:47 +0200
Cristian Adam wrote:
I have tested the classic hello world program using the new gcc 3.4
precompiled headers and... it was 4 times faster! Precompiled headers
rule! :)
#ifdef USE_PCH #include <bits/stdc++.h>
#else
#include <iostream>
#endif
I played around with this a while back, and as I understand it, only a
single precompiled header can be included. Would it be possible to build
a precompiled header for gtkmm as well?
It would be very interesting, because compile times are really a pain in
the rear for me right now, and GCC definitely spends most of the time
processing gtkmm headers. And yes, I do include _only_ the particular
gtkmm headers I really need, the problem is that it folds out pretty
quickly.
--
Christer Palm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]