Re: Slow Compilation of Small Projects



If I had to guess, I'd say this was due to the, IMO weird, way that GTK+ and GLib forbid direct inclusion of any header except their top-level one, which then includes every other. <gtkmm/enums.h> includes <gtk/gtk.h> and hence the rest. <gtkmm/widget.h> includes <gtkmm/enums.h>. You can guess the rest...

Separate from that, though, I'd ask: what kind of compile times did you expect instead? e.g. based on which other libraries of comparable scale?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]