News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

pre-compiled headers location

Started by afb, November 27, 2006, 12:12:45 PM

Previous topic - Next topic

afb

I've done a Makefile.am change to move the generated pre-compiled headers (.gch files) from the "src" directory to the build directory instead, since it is causing me problems when doing several builds to have them in the same source tree. (e.g. release/debug builds, x86/ppc builds, etc. etc.) I think the sources should be treated as read-only ?

Should work fine (have used it all along for the universal build), just wondered if anyone had objections ? i.e. it replaces $(srcdir)/sdk.h.gch with just sdk.h.gch, same for lib_finder and wxSmith. Also added an explicit -c, since some versions of gcc get confused otherwise (when cross-compiling)

killerbot


afb

Quote from: killerbot on November 27, 2006, 01:00:56 PM
also check for the cbp files !!!
Do the cbp projects use the Makefiles too ? Will make sure to check that then.

mandrav

Quote from: afb on November 27, 2006, 01:16:48 PM
Quote from: killerbot on November 27, 2006, 01:00:56 PM
also check for the cbp files !!!
Do the cbp projects use the Makefiles too ? Will make sure to check that then.

No, they don't.
Be patient!
This bug will be fixed soon...

killerbot

cbp files also specify where to put pch's , I think

afb

Quote from: killerbot on November 27, 2006, 03:09:52 PM
cbp files also specify where to put pch's , I think

Yes, and that is fine... They can put them where they want :-)