Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
pre-compiled headers location
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:
also check for the cbp files !!!
afb:
--- Quote from: killerbot on November 27, 2006, 01:00:56 pm ---also check for the cbp files !!!
--- End quote ---
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 !!!
--- End quote ---
Do the cbp projects use the Makefiles too ? Will make sure to check that then.
--- End quote ---
No, they don't.
killerbot:
cbp files also specify where to put pch's , I think
Navigation
[0] Message Index
[#] Next page
Go to full version