Re: Setting a build setting that will work as an environment variable in the build phase
Re: Setting a build setting that will work as an environment variable in the build phase
- Subject: Re: Setting a build setting that will work as an environment variable in the build phase
- From: Scott Tooker <email@hidden>
- Date: Mon, 10 Oct 2005 23:09:01 -0700
While we do a better job of passing down all build settings via
environment variables in a run script build phase now, I wouldn't be
surprised to find out that there were bugs in that area with Xcode 1.5.
Scott
On Oct 8, 2005, at 11:50 AM, Frode wrote:
Hi!
I'm using XCode 1.5 and trying to set a so-called build-setting
that will correspond to an environment variable in the build phase.
In detail, this will be used by PBXCp so it can exclude other files
than just CVS and .DS_Store in the copy process. I renamed pbxcp to
pbxcp.orig and created a shell script:
#!/bin/sh
/Developer/Tools/pbxcp "$PBXCP_EXCLUDE" "$@"
(and also setting its permissions to 775)
Now, from XCode I create build setting termed PBXCP_EXCLUDE with
value "-exclude info.nib -exclude objects.nib". I supposed this
would work, but it doesn't. This is because my custom pbxcp-script
does not see any PBXCP_EXCLUDE-variable.
What am I doing wrong? Is this supposed to work?
Thanks for any help!
/Roger
_______________________________________________
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
_______________________________________________
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