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

#define when framework style includes are used?


  • Subject: #define when framework style includes are used?
  • From: Thomas Engelmeier <email@hidden>
  • Date: Thu, 6 Nov 2008 11:42:23 +0100

Hi,

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/?


The porting guide recommends to switch conditional compilation by features detection instead of platform (__APPLE__), is there anything along the lines of __FRAMEWORK_INCLUDE_STYLE__ set up as preset #define?

TIA,
	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: Sherm Pendley <email@hidden>
    • Re: #define when framework style includes are used?
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Time machine does not save the build folder
  • Next by Date: Re: Show/hide whitespace characters (a.k.a. "invisibles") in Xcode editor?
  • Previous by thread: Re: Process (Xcode): 68 leaks for 3312 total leaked bytes.
  • Next by thread: Re: #define when framework style includes are used?
  • Index(es):
    • Date
    • Thread