• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Include-files with partial paths
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Include-files with partial paths (From: Nigel Spon <email@hidden>)

  • Prev by Date: Re: Xcode 1.5 - how to select Find results?
  • Next by Date: Re: "Find in Project" Slow- CVS?
  • Previous by thread: Include-files with partial paths
  • Next by thread: "Find in Project" Slow- CVS?
  • Index(es):
    • Date
    • Thread