• 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: Define default header include per cpp file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Define default header include per cpp file


  • Subject: Re: Define default header include per cpp file
  • From: Olivier Tristan <email@hidden>
  • Date: Fri, 28 Sep 2007 10:36:40 +0200

Chris Suter wrote:

I know about precompiled header and prefix :)
My question was on a per file basis, which might not be possible in xcode...


I just want specific cpp file to have this include.


I believe there's a gcc option that will do this. Look at the help for gcc.

For those interested, it's just -include pathToTheFileToInclude and works fine when added to the additional compiler flags settings.

--
Olivier Tristan
Ultimate Sound Bank

_______________________________________________
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


References: 
 >Re: Define default header include per cpp file (From: "Olivier Tristan" <email@hidden>)
 >Re: Define default header include per cpp file (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: Porting InDesign CS2 plug-in to XCode
  • Next by Date: Re: Porting InDesign CS2 plug-in to XCode
  • Previous by thread: Re: Define default header include per cpp file
  • Next by thread: Re: Define default header include per cpp file
  • Index(es):
    • Date
    • Thread