Re: Per-file compiler flags?
Re: Per-file compiler flags?
- Subject: Re: Per-file compiler flags?
- From: Jens Miltner <email@hidden>
- Date: Tue, 9 Mar 2004 23:44:56 +0100
Am 09.03.2004 um 22:58 schrieb Steve Sisak:
Is there a way to vary compiler flags on a per-file basis in Xcode?
My specific problem is that I have about a dozen files containing K&R
C function definitions that I'd like to include in a project w/o
turning off 'require prototypes' outside that group.
In the Inspector for a source file, you can specify additional compiler
flags in the "Build" tab.
You'd need to find the appropriate compiler switches and I'm not sure
whether it's possible to turn _off_ compiler switches set in the
project-wide build settings...
Other than that, in theory you should be able to change the extension
<-> language mapping but apparently, this is broken in 1.1 (and I'm not
sure it'd be flexible enough to allow to distinguish between ANSI and
K&C code).
HTH,
</jum>
_______________________________________________
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.