• 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: How can I add custom headers for a library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I add custom headers for a library?


  • Subject: Re: How can I add custom headers for a library?
  • From: "Mark A. Stratman" <email@hidden>
  • Date: Fri, 18 Jun 2004 16:41:26 -0500

I should have mentioned in my previous reply: Another alternative if you don't want to add the headers to the project and don't want to put them in a system include directory is to use a -I compiler flag to tell it where they are.
Add "-I/path/to/headers" in the target's development and deployment compiler flags.

- Mark

On Jun 18, 2004, at 3:01 PM, email@hidden wrote:

I have created a library. There is a header that needs, like stdio, to be
accessable in the compiler. I don't want this header to be included in the
resources or any where else in the product. I know I can manually delete
it, but is there a folder I can place the header in which the compiler
will recognise?
I already dropped it (ok there are two in side a folder) into the Headers
folder in the Developer folder. But when I type #include <MyLibrary.h> or
"MyLibrary.h" I am told that that no such file exists. How do I tell xcode
where these headers are, or where do I place them so that xcode sees them?
Thanks
April.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >How can I add custom headers for a library? (From: email@hidden)

  • Prev by Date: Re: Enabling/Disabling Control view hiearchies
  • Next by Date: Re: Enabling/Disabling Control view hiearchies
  • Previous by thread: Re: How can I add custom headers for a library?
  • Next by thread: Re: Dynamic NSTextView resizing while keeping Y position constant?
  • Index(es):
    • Date
    • Thread