• 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: custom build rule dependency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >custom build rule dependency (From: Eric Ocean <email@hidden>)

  • Prev by Date: Re: Viewing arrays in the debugger?
  • Next by Date: Nib file format preferences in Xcode and IB
  • Previous by thread: custom build rule dependency
  • Next by thread: Target dependencies severely slowing builds
  • Index(es):
    • Date
    • Thread