User forums > Help
PCH in object output dir (possible bug?)
mandrav:
--- Quote ---The project I attached above should not require any include directories to be set. All includes are of the form `#include "somefile.h"`. The compiler is supposed to look in the same directory as the including file; this is per the language spec.
--- End quote ---
That's true. But C::B's current build system, builds each file using the project file's dir as cwd. This is easily configured by going to global compiler settings, "Other" page, checkbox "Explicitely add currently compiling file's dir to compiler's search dirs". But this is a global option, not a per-project one. So, if you want the projects premake generates to be built flawlessly everywhere, you should setup the compiler's dirs correctly.
--- Quote ---I will drop a note when the next version of Premake -- with C::B support! -- is released.
--- End quote ---
You do that ;).
Navigation
[0] Message Index
[*] Previous page
Go to full version