• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Output files, working directories and BUILD_STYLE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Output files, working directories and BUILD_STYLE
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: Xcode 2.1 saving lag
  • Next by Date: Re: Subversion not running with Xcode 2.1 on remote server (svn://)
  • Previous by thread: Re: error: parse error before "Game"
  • Next by thread: Re: Output files, working directories and BUILD_STYLE
  • Index(es):
    • Date
    • Thread