• 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: Targets and include files..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Targets and include files..


  • Subject: Re: Targets and include files..
  • From: Jim Wintermyre <email@hidden>
  • Date: Mon, 4 Dec 2006 19:18:30 -0800

At 2:12 AM -0800 11/21/06, Chris Espinosa wrote:
Target membership has nothing to do with where #include files are found. In most cases, you don't even want your #include files to be target members, lest they get acted on (compiled, copied into the Headers directory, copied into the Resources directory, etc.) during a build.

In CodeWarrior, if you recall, headers were not even project members, much less target members. The main reason they're usually target members in Xcode is that the SCM support is integrated at the project level, so to have your headers under SCM control they need to be in
the project.

I may be totally out to lunch here, but I thought having headers in targets also had something to do with symbol indexing. I seem to remember that in the past, if I didn't have certain headers actually in the target, then if I Cmd-double-clicked a type that was declared in one of those headers, it wouldn't be found. But that could be ancient history...


Also, when I recently converted a bunch of CW projects to XCode, the importer imported all the header files that were actually referenced by the CW project, even though the headers weren't explicitly in the CW project. Is SCM support the only reason this is being done?

Thanks,
Jim

_______________________________________________
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


  • Follow-Ups:
    • Re: Targets and include files..
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: question about building on MacBookPro (Core 2 Duo)
  • Next by Date: Re: Targets and include files..
  • Previous by thread: [FAQ] Per-processor type framework linking?
  • Next by thread: Re: Targets and include files..
  • Index(es):
    • Date
    • Thread