• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Build Rule


  • Subject: Re: Custom Build Rule
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 14 Jul 2009 13:11:20 -0700


On Jul 14, 2009, at 11:09 AM, Matthew Mashyna wrote:

I'm trying to help an old friend get a project that was written years ago for Codewarrior. I know, I know she should just rewrite it all but that's just not going to work for her. So, thanks in advance for those comments.

I'm trying to add a new build rule for handling files that end in .rsrc but I can't seem to get the project to use my rule. For a test I made a rule for

"Source files with names matching:" *.rsrc
	using: "Custom script:
		echo "yippee"


But I never see my yippee in the log.

I have a file called External.rsrc in my project. Do I need to change the file type? I can't figure it out. What am I missing?

Normally External.rsrc will be in the Copy ResourceManager Resources build phase, so it will not get processed in the Compile Sources build phase and therefore your custom rule will not apply. Move the External.rsrc file from Copy ResourceManager Resources to Compile Sources.


Chris
_______________________________________________
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: Custom Build Rule
      • From: Matthew Mashyna <email@hidden>
References: 
 >Custom Build Rule (From: Matthew Mashyna <email@hidden>)

  • Prev by Date: Re: Xcode Debugger, run as root?
  • Next by Date: Changing Product Name Causes Problems
  • Previous by thread: Custom Build Rule
  • Next by thread: Re: Custom Build Rule
  • Index(es):
    • Date
    • Thread