Re: Groups, shell scripts, yacc
Re: Groups, shell scripts, yacc
- Subject: Re: Groups, shell scripts, yacc
- From: Glen Low <email@hidden>
- Date: Sun, 23 Nov 2003 16:58:39 +0800
The build rules has the potential to be a kind of simple makefile
replacement. You can also match on a regular expression on your
sources to run script, the only thing I can't quite figure out is
whether Xcode does a proper dependency analysis for the generated
files -- e.g. if yacc generates a header that is later used by some
other source, does it know to generate yacc first and then compile the
other source? I can't quite tell yet, but it doesn't seem to work with
the regular expression match.
It seems for the canned file types, Xcode will run them in order of
declaration, which isn't a dependency analysis but is not a great
drama, since you can reorganize them to to your heart's content in the
Sources build phase. However for regular expression for file types in
the build rules, they always seem to be executed last, much like a
Script phase would -- can anyone confirm this and/or give me a
workaround?
E.g. Targets > (target) > Get Info : Rules : + :
Process Source files with names matching, ?*/ps\.txt
using: custom script: etc.
with output files: etc.
This rule always executes after any rule with Process Yacc source files
etc.
This means that any custom rules cannot create files used by other
sources e.g. a header file.
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.
References: | |
| >Groups, shell scripts, yacc (From: Glen Low <email@hidden>) |
| >Re: Groups, shell scripts, yacc (From: Scott Tooker <email@hidden>) |
| >Re: Groups, shell scripts, yacc (From: Glen Low <email@hidden>) |
| >Re: Groups, shell scripts, yacc (From: Olger Warnier <email@hidden>) |
| >Re: Groups, shell scripts, yacc (From: Glen Low <email@hidden>) |