Re: Include-files with partial paths
Re: Include-files with partial paths
- Subject: Re: Include-files with partial paths
- From: Scott Tooker <email@hidden>
- Date: Mon, 16 Aug 2004 16:35:20 -0700
You want to add additional header search paths to the 'Header Search
Paths' build setting :)
Scott
On Aug 16, 2004, at 3:24 PM, Nigel Spon wrote:
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.
_______________________________________________
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.