Re: Build All Targets
Re: Build All Targets
- Subject: Re: Build All Targets
- From: Dave Stewart <email@hidden>
- Date: Fri, 9 Apr 2004 10:01:08 -0700
On Apr 8, 2004, at 10:02 PM, Eric Wing pondered:
>
> Is there a way to get Xcode to Build All Targets, sort
> of like how it can Clean All Targets?
>
> I am trying to build an Xcode project that is
> comprised of many targets, some of which depend on
> others. As a whole, the project takes a very long time
> to compile, so I would like to be able to hit "Build
> All Targets" and let the thing run overnight.
>
> In Project Builder, I was once able to setup some kind
> of dummy target that would build all the other
> targets, but I don't remember how I did that and can't
> figure it out how to do it in Xcode.
First off, I'm probably late to the party because I'm on digest mode.
Sorry for that ...
Secondly, although I've never needed to do this myself, I think all you
need to do is create a target that depends on all other targets. When
you build that target, it first builds the dependencies.
Searching through XCode documentation (using the string "dependent
targets"), I ran across this under the heading "About Targets":
You can group multiple targets using an aggregate target. An aggregate
target does not build a product of its own. Instead, it exists only to
ensure that a group of targets gets built together. To build a group of
related targets, just build the aggregate target.
When you initiate a build, Xcode builds the product specified by the
current, or active, target and any targets on which the active target
depends. The active target is shown in the pop-up menu on the left side
of the project window toolbar. If your project has more than one
target, you can use this menu to change which target is active. In the
Groups & Files list, the active target is marked by a checkmark in a
round green circle.
>
> Thanks
Anytime! HTH!
Dave Stewart
Aqua~Flo Supply (Goleta CA)
dstewart at aquaflo dot com
There are 10 kinds of people in the world:
Those who understand binary and those who don't.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.