• 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 when framework style includes are used?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #define when framework style includes are used?


  • Subject: Re: #define when framework style includes are used?
  • From: Thomas Engelmeier <email@hidden>
  • Date: Fri, 7 Nov 2008 16:38:20 +0100


On 07.11.2008, at 15:52, Sherm Pendley wrote:

On Nov 6, 2008, at 5:42 AM, Thomas Engelmeier wrote:

I'm working on an cross-platform project where all other platforms use a non-framework variant of a library that is packaged up as Framework on OS X. I'd really prefer to keep out contitional compilation at all and leave the code as it is.

Is there an recommended way to add the framework include folder as header search path, i.e.
{SDK_FOLDER}/System/Library/Frameworks/ThatFrameWork/Headers/?

Have you considered turning the question around? That is, instead of trying to make "#include <foo.h>" work on the Mac, would it be feasible for you to install headers on the other platforms in a subdirectory, for example /usr/local/include/ThatFramework, so that "#include <ThatFramework/foo.h>" works everywhere?

Nice idea, though I'm not sure if that's worth the effort in 300+ existing source files (plus corresponding headers).. That framework typedefs some basic types.


Merci,
	Tom_E

_______________________________________________
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 when framework style includes are used?
      • From: "Glenn L. Austin" <email@hidden>
References: 
 >#define when framework style includes are used? (From: Thomas Engelmeier <email@hidden>)
 >Re: #define when framework style includes are used? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: #define when framework style includes are used?
  • Next by Date: Re: #define when framework style includes are used?
  • Previous by thread: Re: #define when framework style includes are used?
  • Next by thread: Re: #define when framework style includes are used?
  • Index(es):
    • Date
    • Thread