Re: Custom build rule dependencies voodoo
Re: Custom build rule dependencies voodoo
- Subject: Re: Custom build rule dependencies voodoo
- From: Glen Low <email@hidden>
- Date: Fri, 4 Jun 2004 07:56:39 +0800
On 02/06/2004, at 11:23 PM, Glen Low wrote:
Xcoders:
OK, I'd like the official lowdown on custom Build Rules. Xcode 1.2
seems far better than 1.1 in handling build rules and dependencies but
I still find it occasionally does the wrong thing dependency-wise, and
I do a lot of things that may or may not have affected it, so it'd be
good to know what was voodoo and what is truth.
1. Does the header dependency analysis of .c files look at all
#includes? Even those hidden inside a #ifdef XYZ ... #endif
combination, where XYZ is some macro?
2. Does the order of custom build rules in the Rules tab affect the
firing of rules or dependency analysis?
3. If a build rule produces an output, especially a .h file, must I
reference that from the project and include that in the Header build
phase for it to be used for header dependency analysis?
4. Will custom build rule outputs of the form
$(DERIVED_FILE_DIR)/$(INPUT_FILE_BASE).h be recognized for header
dependency analysis?
5. On a dual proc machine or having more than 1 thread doing building,
are the two (or more) threads of building guaranteed to have no
interdependencies, and/or are they synchronized so that dependents are
built before the files that require them?
6. Does Xcode track dependencies of the form: file A depends on B, B
depends on C, C depends on D, where both B and C are derived files?
7. In the Sources build phase, must I list the files in order of
dependents first? (Obviously this won't cover dependencies on
headers...)
8. Is there any way to debug or dump out Xcode's dependency analysis?
Any info on this, guys?
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.