Include-files with partial paths
Include-files with partial paths
- Subject: Include-files with partial paths
- From: Nigel Spon <email@hidden>
- Date: Tue, 17 Aug 2004 10:24:44 +1200
I'm trying to compile some shared code that is used by other platforms
under Xcode 1.5 which includes partial paths in its header references,
e.g
#include "Work/Common/UsefulBits.h".
Now I have added UsefulBits.h to the project, but the preprocessor
complains at the line above and says "No such file or directory"
Work/Common/UsefulBits.h.
I thought I had the solution, which was to add the rest of the path to
the "Other C Flags" in the options for the project, e.g
-I Users/fred/Documents/XCodeProjects
- where XCodeProjects contains the directory "Work". However this does
not work. Have I misunderstood its purpose, or got the wrong syntax, or
am I using the wrong thing altogether?
Many thanks for any assistance,
---
"The command could not be completed because it cannot be moved into
itself"
Nigel
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.