Access Build Settings in a User Script?
Access Build Settings in a User Script?
- Subject: Access Build Settings in a User Script?
- From: Jerry Krinock <email@hidden>
- Date: Mon, 17 Nov 2008 10:39:06 -0800
It seems that things like build settings should be available in User
Scripts, but the only way I've found to get these is, for example, the
following kludge which calls out to AppleScript and then back in to
Xcode...
SOURCE_ROOT=`osascript -e "tell application \"Xcode\" to return value
of flattened build setting \"SRCROOT\" of build configuration \"Release
\" of active target of item 1 of projects"`
It seems there should be a more "introspective" way to get such
settings?
Motivation: An Apple article [1] gives a script for running Doxygen
and loading output into Xcode as part of a Shell Script Build Phase.
But I want my documentation for ^me^, while I'm writing code. The
project I'm now working on will not be buildable for a few weeks, but
I update documentation constantly. Therefore, I'd like the ability to
run Doxygen and load updated output from a User Script.
Thanks,
Jerry Krinock
[1] http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
_______________________________________________
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