Setting a build setting that will work as an environment variable in the build phase
Setting a build setting that will work as an environment variable in the build phase
- Subject: Setting a build setting that will work as an environment variable in the build phase
- From: Frode <email@hidden>
- Date: Sat, 8 Oct 2005 20:50:22 +0200
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