• 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: Per-file compiler flags - documentation does match reality
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Per-file compiler flags - documentation does match reality


  • Subject: Re: Per-file compiler flags - documentation does match reality
  • From: Scott Tooker <email@hidden>
  • Date: Thu, 6 Jan 2005 19:59:53 -0800

Yes, the per-file flags are meant to be associated with a given target. In Xcode 1.5 the best way to set these flags is to select the file reference under the target and set them there (then it is quite clear which target is being used).

Scott


On Jan 3, 2005, at 5:24 PM, Timothy Wayper wrote:


I'll point this out in the hope that it saves somebody else some time:

The existing XCode documentation states that per-file compiler flags are applied to all targets that the file is associated with:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/ Build_System/File_Compiler_Flags/File_Compiler_Flags.html

This is not true. Per-file compile options are actually also per-target, but you will not see a discrepancy unless you close and reopen the Info window after switching the active target.

Filed as radar://3938015 (although the behavior may well be correct, the docs might just be wrong on this one).

Cheers,
Tim Wayper

_______________________________________________
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


_______________________________________________
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


References: 
 >Per-file compiler flags - documentation does match reality (From: Timothy Wayper <email@hidden>)

  • Prev by Date: Re: Bug in Apple's Calculator App? (Off topic)
  • Next by Date: RE: Can't link deployment app with Xcode 1.5
  • Previous by thread: Per-file compiler flags - documentation does match reality
  • Next by thread: Help -> Documentation (Why doesn't API Search field list result?)
  • Index(es):
    • Date
    • Thread