RE: Configuring the xcode environment
RE: Configuring the xcode environment
- Subject: RE: Configuring the xcode environment
- From: Jeff Laing <email@hidden>
- Date: Tue, 18 Jan 2005 16:20:11 +1100
> I'm wondering how to configure xcode. I know it is possible to set up
> environment variables for xcode, but I don't know how to do this yet
> any hints would be useful.
> In particular, I want to generate long dates, my real name as author
> and my real name as copyright holder in all generated source
> and header
> files.
According to
http://lists.apple.com/archives/projectbuilder-users/2001/Sep/msg00390.html
you can only do the __CompanyName__ one
Quote:
This feature is only available through some Terminal hackery in
this release, but enough folks have asked about how to get PB to
use their own company name instead of just "__CompanyName__" in
their new files that we think it is worth describing.
It is now possible to customize the expansion dictionary for file
template macros with a custom default. The default is called
PBXCustomTemplateMacroDefinitions and its value is a dictionary
mapping macro names to their values. The ORGANIZATIONNAME macro
is the one that expands to __CompanyName__ by default. So, if you
want your own company name you can do the following command in
Terminal:
defaults write com.apple.ProjectBuilder
PBXCustomTemplateMacroDefinitions '{ "ORGANIZATIONNAME" = "Acme
Widgets and Gewgaws, Inc." ; }'
EndQuote:
Presumably there are other mappings (ie, more than just ORGANIZATIONNAME =>
__CompanyName__) but I haven't seen them documented anywhere...
_______________________________________________
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