• 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
Re: Groups, shell scripts, yacc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Groups, shell scripts, yacc


  • Subject: Re: Groups, shell scripts, yacc
  • From: Glen Low <email@hidden>
  • Date: Sat, 22 Nov 2003 10:42:05 +0800

Scott:

2. On a native target, how do you get the shell script build phase to
work? Must you enter in an input and output file, and these would be
relative to what?


In 1.0 you need to indicate input and output dependencies and the paths need to be project relative (absolute may also work).

I am totally lost here. Could you give me a simple example, e.g. copy from x to y?


3. It seems yacc support is broken, the generated parser_yacc.sh
script has the wrong paths for the derived sources. Any clues to a
workaround? In particular, can you (and how do you) do a selective
override of particular target rules?

I suppose with a native target, Xcode doesn't look anymore at /Developer/Makefiles/pbxjamfiles/ProjectBuilderJambase because any changes I make there aren't reflected in the actual build -- is there anywhere else Xcode looks or are the commands hard-coded into the program?


Also, I did a get-info on the target, chose the rules tab, and put in my own rule for Yacc using a custom (shell) script, however, it doesn't seem to work or execute anything? Should I use Jam syntax and what do I put for output file? Any clues?

4. It doesn't seem sufficient to add a internal, dependent framework
on to the target's Frameworks and Libraries, you need to add it to the
Direct Dependencies if you want a rebuild triggered when the dependent
framework changes?

Yes. All adding the framework to the Frameworks and Libraries build phase does is tell the target to link against that framework. You need to add the target that produces that framework to the target dependencies to indicate that the framework target needs to be up to date when building the other target.

OK.



Cheers, Glen Low


--- pixelglow software | simply brilliant stuff www.pixelglow.com _______________________________________________ xcode-users mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Groups, shell scripts, yacc
      • From: Olger Warnier <email@hidden>
References: 
 >Groups, shell scripts, yacc (From: Glen Low <email@hidden>)
 >Re: Groups, shell scripts, yacc (From: Scott Tooker <email@hidden>)

  • Prev by Date: Copying fails in deployment build
  • Next by Date: Shell scripts, build rules
  • Previous by thread: Re: Groups, shell scripts, yacc
  • Next by thread: Re: Groups, shell scripts, yacc
  • Index(es):
    • Date
    • Thread