Re: custom build rule dependency
Re: custom build rule dependency
- Subject: Re: custom build rule dependency
- From: Glen Low <email@hidden>
- Date: Mon, 20 Sep 2004 07:11:59 +0800
On 20/09/2004, at 5:52 AM, Eric Ocean wrote:
I have custom build rules set up to process .rh and .rl files, using
the Ragel compiler (see below).
The problem is, the header that is generated is used by an Objective-C
class in the project, and that Xcode tries to compiler that class
before it process the .rh file that generates the header. Because the
header doesn't exist, Xcode abandons the build.
If I trick Xcode into compiling the .rh and .rl files first (by
manually disabling the class that uses the header, then reenabling it
the next time I build), everything works.
Try adding the generated header to your project as a Relative to Build
file (under the project icon); you may also want to add to the target's
headers. That usually prompts the dependency analysis to see the file.
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
_______________________________________________
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