• 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: Aggregate Configuration?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Aggregate Configuration?


  • Subject: Re: Aggregate Configuration?
  • From: Greg Hurrell <email@hidden>
  • Date: Wed, 9 Aug 2006 13:10:51 +0200

El 09/08/2006, a las 10:40, Dirk Stegemann escribió:

If I understand correctly, because there are only aggregate "targets" which refer to other targets, I'd currently have to either

1) restructure my project in a way that my target's configurations "A_T1_C1..C3" become targets on their own ("A_T3..T5") which feature just one configuration, so I can refer to them by an aggregate target "A_T6",

If I understand your question correctly, then yes, I think that's what you have to do.


Is there a better way to accomplish what I'm trying to do, preferably without restructuring my current project and without creating an "aggregate project"?

I definitely wouldn't split things off into a separate project.

Is there a special way to create aggregate targets which are able to map to specific configurations inside the same project?

Configurations are project-wide, so it is only appropriate to include settings that will apply to all sub-targets in an aggregate target at once. If you need specific settings for a sub-target they'll need to go in the build settings for that target.


You can minimize repetition by using xcconfig files at both the project (configuration) level and the target level. One config file can include another (and so on) so you can effectively build an inheritance hierarchy of build settings. If you need even more control I believe you can provide further overrides at the command- line switch/environment variable level.

See the docs:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/ XcodeUserGuide/Contents/Resources/en.lproj/05_05_build_configs/ chapter_33_section_6.html

Greg

_______________________________________________
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: 
 >Aggregate Configuration? (From: Dirk Stegemann <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Re: Xcode 2.4 SDK missing files
  • Previous by thread: Aggregate Configuration?
  • Next by thread: Re: gdb problem
  • Index(es):
    • Date
    • Thread