Steve Lewis

Using "#include" directive with relative filepaths

Discussion created by Steve Lewis on Dec 7, 2007
Latest reply on Dec 11, 2007 by Bob Smith
I have inherited a set of source files, with some being located in sub folders of the "Sources" folder. They all relate to controlling a USB On The Go chip via the SPI.
These have previously been compiled using the IAR compiler.
They contain relative pathname references to header files, of the form:
#include "../../hcc_types.h"
#include "spiu/spiu.h"
Before I resort to completely rewriting everything with full pathnames, could anyone tell me if there is an option I need to set in the Project Settings options or IDE preferences that enables the compiler to handle these relative refernces?