• 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: Build condiguration for aggregate targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build condiguration for aggregate targets


  • Subject: Re: Build condiguration for aggregate targets
  • From: James Bucanek <email@hidden>
  • Date: Mon, 21 Nov 2005 10:12:24 -0700

Mirko Viviani wrote on Monday, November 21, 2005:
>I know that xcode to build a target search the build configuration
>with the same name as the active build configuration and if not found
>it falls back using the default.
>
>Is there a way to map configuration for targets or are there problems
>doing that?
>Maybe with a custom shell script?

I'm not sure what you're trying to do, but it doesn't sound like you're talking about aggregate targets as much as cross-project dependencies.

It sounds like you have target dependencies with cross-project targets (targets in other projects) and those projects have a different set of build configurations than the project that depends on them.

As you already said, Xcode will use the build configuration in the other target that matches the current build configuration, or the default build configuration if a match cannot be found.

So...

Yes, I suppose this could be "fixed" with a custom build script. Replace the cross-project dependencies with a build script that examines the build configuration name (it's in an environment variable), chooses the correct build configuration for the dependent project, then executes the xcodebuild tool with the desired build configuration.

Of course, "chooses the correct build configuration" is up to you to deterime.

--
James Bucanek
 _______________________________________________
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: Build condiguration for aggregate targets
      • From: Mirko Viviani <email@hidden>
References: 
 >Build condiguration for aggregate targets (From: Mirko Viviani <email@hidden>)

  • Prev by Date: Re: Build condiguration for aggregate targets
  • Next by Date: Target setup for unit testing (using cppunit)
  • Previous by thread: Re: Build condiguration for aggregate targets
  • Next by thread: Re: Build condiguration for aggregate targets
  • Index(es):
    • Date
    • Thread