Output files, working directories and BUILD_STYLE
Output files, working directories and BUILD_STYLE
- Subject: Output files, working directories and BUILD_STYLE
- From: Jonas Maebe <email@hidden>
- Date: Wed, 15 Jun 2005 14:36:58 +0200
Hello,
Is it a known problem than in XCode 2.1, $(BUILD_STYLE) is stripped
from output file paths belonging to a custom script rule? Since the $
(BUILD_STYLE) is now an inherent part of the path of output files (it
seems it wasn't in 1.5), this is quite annoying.
The easiest way to reproduce it is to create a new project, standard
tool, get info on the target, go to rules, select "Custom Script" for
C files, allow XCode to make a copy, add an output file, use the path
build/$(BUILD_STYLE)/a
close the info window and build.
In the build transcript, you can see:
PhaseScriptExecution /Users/jonas/fpc/test/xcode/test5/build/
test5.build/Debug/test5.build/Script-0d990ec3.sh
mkdir build/a
cd /Users/jonas/fpc/test/xcode/test5
So
a) the $(BUILD_STYLE) is removed
b) the mkdir happens before changing to the project directory...
So that seems to be two errors in fact.
Am I doing something wrong or shall I file a bug report?
Jonas
_______________________________________________
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