• 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: Chris Suter <email@hidden>
  • Date: Fri, 28 Sep 2007 06:02:38 +1000


On 28/09/2007, at 5:49 AM, Olivier Tristan wrote:

On 9/27/07, Greg Guerin <email@hidden> wrote:
Olivier Tristan wrote:

It allows to include an header file when the .cpp is preprocessed just
like if the first line of the .cpp was #include "MyCommonInclude" on a per
file basis.

Xcode > Help > Xcode Help, then type this in the search field: precompiled header and hit Return.

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.

- Chris

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

  • Follow-Ups:
    • Re: Define default header include per cpp file
      • From: Olivier Tristan <email@hidden>
    • Re: Define default header include per cpp file
      • From: "Olivier Tristan" <email@hidden>
References: 
 >Re: Define default header include per cpp file (From: "Olivier Tristan" <email@hidden>)

  • Prev by Date: Re: Define default header include per cpp file
  • Next by Date: Re: porting cs2 plugin 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