User forums > Using Code::Blocks

How to change path of wx_pch.h.gch?

<< < (2/2)

ollydbg:

--- Quote ---And, the reason you can not move the wx_pch.h to an common folder is what?
Or did you not try that?

The wx_pch.h determines the PCH file locations in 2 of the 3 settings.
Note: PCH means pre-complied header is this case called wx_pch.h.gch

--- End quote ---
Oh, Yes, you are right, I haven't thought to move the wx_pch.h to a common file. Thanks.


--- Quote ---Note: I do not use the header wx_pch.h file myself so not sure what it contains.
I use the <wx/wxprec.h> directly.

--- End quote ---
wx_pch.h file do nothing except include  <wx/wxprec.h>.

That's the work by code::blocks's wizard.

using the  <wx/wxprec.h> directly can really save OP's problem, that's because the PCH output file will be located in wx/.....

Thanks for your informative suggestion.





Navigation

[0] Message Index

[*] Previous page

Go to full version