Partial includes syntax
Partial includes syntax
- Subject: Partial includes syntax
- From: Philippe Casgrain <email@hidden>
- Date: Thu, 1 Sep 2005 16:06:48 -0400
I am porting our project from CW to Xcode, and one problem I am
experiencing is this. On disk, we have the following structure:
Project/
Document/
Document.h
In our source code, if we type:
#include "Document/DocEvent.h"
that does not compile (error: Document/DocEvent.h: No such file or
directory).
But if we replace that line with:
#include "DocEvent.h"
Then everything is fine. Xcode can find the file, I can Cmd-D on the
file name to open it. But it won't let us #include with a prefix.
Is there a flag we can set? This code is cross-platform, so it has to
build using CW, gcc and Visual C++...
Philippe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden