On Thursday 29 September 2005 17:08, Maciej Stachowiak wrote: > On Mac OS X, the easiest way to do this is to make sure these > definitions are included in the per-project prefix header. The Xcode > build system will tell gcc to make a precompiled header out of this, > and then automatically pass it as a prefix header to all gcc > invocations. I don't know if other build systems have anything > analogous. Another possible alternative is to make sure these > declarations go in config.h, and then force every source file to > include it. But that's a little ugly and furthermore hard to > maintain, since forgetting a config.h include will not lead to a > build failure but will cause incorrect code to be generated. > > > So does anyone have any experience here? I'd like the solution to > work at least on Linux, Windows and Symbian Series 60.
I don't know of anything on Linux that would make this convenient and work on a range of systems out there today. I think ugly is the only approach. -- George Staikos KDE Developer http://www.kde.org/ Staikos Computing Services Inc. http://www.staikos.net/ _______________________________________________ webkit-dev mailing list [email protected] http://www.opendarwin.org/mailman/listinfo/webkit-dev
