• 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
File type specific compiler flags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

File type specific compiler flags


  • Subject: File type specific compiler flags
  • From: Nikita Zhuk <email@hidden>
  • Date: Wed, 14 Mar 2007 09:03:41 +0200

Hi,

Is it possible to define custom compiler flags for all source files of a specific file type (e.g. sourcecode.c.objc) in XCode (2.4.1)? I would like to enable a couple of extra warning flags (e.g. - Wundeclared-selector) for all my Objective-C source files in the project. The project also contains some C files, so if I set this flag to the whole build target, I get warnings for each C file (because -Wundeclared-selector isn't valid flag for C files). I'm aware of per-file flags, but setting and mainaining flags for each Obj-C source file separately would be too much work.

Best regards,
Nikita Zhuk

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Prev by Date: Re: Unavailable Function Errors and Backwards Compatability
  • Next by Date: Getting gdb back to work with CodeWarrior Pro 9
  • Previous by thread: Re: Unavailable Function Errors and Backwards Compatability
  • Next by thread: Getting gdb back to work with CodeWarrior Pro 9
  • Index(es):
    • Date
    • Thread