Re: Script to build all configurations?
Re: Script to build all configurations?
- Subject: Re: Script to build all configurations?
- From: Jim Correia <email@hidden>
- Date: Mon, 26 Feb 2007 16:40:48 -0500
On Feb 26, 2007, at 4:31 PM, Andreas Wittenstein wrote:
tell application "Xcode"
tell target "<target0>" of project "<project>" to build using
build configuration "<configuration0>"
tell target "<target0>" of project "<project>" to build using
build configuration "<configuration1>"
tell target "<target0>" of project "<project>" to build using
build configuration "<configuration2>"
tell target "<target1>" of project "<project>" to build using
build configuration "<configuration0>"
tell target "<target1>" of project "<project>" to build using
build configuration "<configuration1>"
tell target "<target1>" of project "<project>" to build using
build configuration "<configuration2>"
tell target "<target2>" of project "<project>" to build using
build configuration "<configuration0>"
tell target "<target2>" of project "<project>" to build using
build configuration "<configuration1>"
tell target "<target2>" of project "<project>" to build using
build configuration "<configuration2>"
quit
end tell
Would you write C code which looked like that? :-)
How about a script which loops over the targets and configuration, so
it doesn't need to be customized per project, or when the project
changes:
tell application "Xcode"
tell project 1
set zTargets to every target
set zConfigurations to every build configuration
repeat with zTarget in zTargets
repeat with zConfiguration in zConfigurations
tell zTarget to build using zConfiguration
end repeat
end repeat
end tell
end tell
Jim
_______________________________________________
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