PCH mode now defaults for PCH to be created in the object output directory.
I saw this change in the Subversion logs and was just about to start a topic asking why this change was made. Guess I'll ask here.
My problem: doesn't this break code like #include "precompiled_header.h"
when said file is indeed in the same directory?
And when I say "break", I mean: does it still use the precompiled header? Wouldn't it find the actual header first?
It works now. Update your sources
I did. But I'd just finished a long recompile and didn't feel like doing one again, especially if I wasn't sure it'd work.
How did you fix it, by the way?
Is there an option to add a library to the "" search path? I wouldn't be surprised if there was, I'd just like to know what it is as I searched for it and couldn't find it a while back.
I'd look at the commit in detail, but it's a mixed one with lots of changes...
EDIT: Oh, you meant update them
again, as in you just fixed it?
By the way, is it really a good idea to put all C::B SDK headers into a precompiled header and have pretty much
everything depend on it? One change to
macrosmanager.h and it's an almost full rebuild
.
I myself usually use pchs only for stuff that actually
doesn't change for large amounts of time only:
windows.h and headers for libraries like wxWidgets and Boost.
They're meant to cut down compilation time, but if you put your own (changing) stuff in there they may actually increase it by increasing dependencies.