How do I include source files according to processor?
How do I include source files according to processor?
- Subject: How do I include source files according to processor?
- From: Doug McLean <email@hidden>
- Date: Mon, 30 Oct 2006 18:19:16 -0600
Hi experts. Suppose I am building a universal binary target. In the
PPC build, I want machPatchesPPC.cpp included in the build, while for
intel, I want machPatchesx86.cpp (a processor-specific implementation
of the same functions).
I know I can bracket each file with a processor-specific conditional,
but prefer not to. Is there a cleaner way to bind a file to the
compilation for a specific processor? Maybe some kind of per-file
compiler flag?
Thanks very much for your help.
Doug
_______________________________________________
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