• 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: Target Info: Build: Why sometimes sections of GCC settings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Target Info: Build: Why sometimes sections of GCC settings?


  • Subject: Re: Target Info: Build: Why sometimes sections of GCC settings?
  • From: Scott Tooker <email@hidden>
  • Date: Tue, 8 Apr 2008 13:13:38 -0700


On Apr 8, 2008, at 10:28 AM, Jerry Krinock wrote:

In Xcode 3.0, Target Info ► Build Settings, sometimes, at the bottom I get a four sections of GCC settings:

 GCC 4.0 - Code Generation
    ...
    ...
 GCC 4.0 - Language
    ...
    ...
 GCC 4.0 - Preprocessing
    ...
    ...
 GCC 4.0 - Warnings
    ...
    ...

Other times, these are absent, and in their place it appears that non-default settings are listed in the "User-Defined" section.

I have several guesses, but rather than listing them I thought it would be better to just ask someone who knows to please explain why I get these two different "views" at different times in different projects? And which one is "correct"?

Currently Xcode targets look at their included files to determine what build settings to load information for. It sounds like sometimes you are looking at a target where you don't have any C-family source files in the target. It's also possible to get in this situation if you are changing the GCC version being used to compile C code (via a build rule in the target).


Developers usually run into this when they create a new, empty target and go to set build settings before adding source files to the target.

The reason you see a bunch of content shift over to the "User Defined Settings" section is that Xcode treats any setting definition as user defined if we don't have any associated information for it.

To improve the experience I've though that having a filter to show "all settings" versus "all settings appropriate for the target contents" would be useful (which should also indirectly solve the settings showing up in "User Defined").

Scott



Thanks

Jerry Krinock _______________________________________________
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
  • Follow-Ups:
    • Re: Target Info: Build: Why sometimes sections of GCC settings?
      • From: Jerry Krinock <email@hidden>
References: 
 >Target Info: Build: Why sometimes sections of GCC settings? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: has exited with a status 5
  • Next by Date: Re: Possible GCC Bug?
  • Previous by thread: Re: Target Info: Build: Why sometimes sections of GCC settings?
  • Next by thread: Re: Target Info: Build: Why sometimes sections of GCC settings?
  • Index(es):
    • Date
    • Thread