[Ardour-Dev] precompiled headers

torbenh torbenh at gmx.de
Tue May 25 04:31:53 PDT 2010


hi...

i experimented a bit with precompiled headers.
basically generated libs/ardour/ardour/all.h
and gtk2_ardour/gtk2_all.h

compiled them to precompiled headers and injected em using gccs
-include option.

it decreases a3 buildtime after ./waf clean from 29 minutes to 21 here.

this is not very intrusive. but including all files everywhere made some
stuffs manifest.

the commits are here:
http://hochstrom.endofinternet.org/cgit/ardour.git/log/?h=real_gch

the first commit on top of 3.0P contains a set of ugliness...
ambiguity between ARDOUR::Menu and Gtk::Menu and a few other things.

i generated the commandlines for the headerfiles myself.
would be nice if some waf wizzard could help to generate the proper waf
rules.

-- 
torben Hohn



More information about the Ardour-Dev mailing list