Re: Any documentation on how to use Xcode's $MACROs?
Re: Any documentation on how to use Xcode's $MACROs?
- Subject: Re: Any documentation on how to use Xcode's $MACROs?
- From: Chris Espinosa <email@hidden>
- Date: Tue, 20 Dec 2005 21:48:32 -0800
On Dec 20, 2005, at 9:12 PM, Jerry Krinock wrote:
In poking through my project's target I see that the
automatically-generated
values use macros in parentheses like:
$(PROJECT_DIR)
$(SRCROOT)
and in Info.plist I see macros in curly brackets like
${PRODUCT_NAME}
${EXECUTABLE_NAME}
They would probably be quite useful to me if someone could point me at
their
documentation. A complete list of them would be nice!
Xcode 2.2 User Guide Appendix E: Build Setting Names And Their Titles
http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide/Contents/Resources/en.lproj/BuildSettingTitles/
chapter_52_section_1.html#//apple_ref/doc/uid/TP40002712-SW1
Xcode 2.2 Build Settings Release Notes
http://developer.apple.com/releasenotes/DeveloperTools/Xcode/
XcodeBuildSettings.html
Also, is there any way to specify a relative pathname in, say, a search
path? For example, I'd like to go up to the project's parent
directory and
then down into a different directory. I've tried many combinations of
".."
and "/" with $(PROJECT_DIR) but no luck.
Try $(SRCROOT)/../path/to/cousin/folder
Use parens inside Xcode.
Use braces when the build setting is used outside Xcode, for example,
in a shell script (as each build setting is transmuted into an
equivalent shell environment variable, and the shell uses braces to
expand env vars)
_______________________________________________
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