• 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
Overriding a default library header path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Overriding a default library header path


  • Subject: Overriding a default library header path
  • From: patrick machielse <email@hidden>
  • Date: Tue, 04 Mar 2014 20:46:27 +0100

In my project I'm linking statically to openssl. To this end I've created these paths in my project directory:

openssl/include/
openssl/lib/

which contain the public headers and a freshly compiled libcrypto.a

Linking works, but I'm not able to make Xcode use the project headers for openssl. When I build the project, 'include <openssl/abc.h>' will resolve to the headers in the SDK, and emit deprecation warnings.

I've tried setting [USER_HEADER_SEARCH_PATHS, -iquote] + [ALWAYS_SEARCH_USER_PATHS] in Xcode, but it doesn't seem to work.

Close reading of the description of ALWAYS_SEARCH_USER_PATHS seems to say that perhaps 'my compiler' (lldb) doesn't support separate header search paths?

Is there a way to make <openssl/> #includes direct to the headers in my project, instead of using the system / SDK headers?

Thanks,

Patrick Machielse
--
Patrick Machielse
Hieper Software

http://www.hieper.nl
email@hidden


 _______________________________________________
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


  • Prev by Date: Re: setting up project with App and quicklook and spotlight plug-ins
  • Next by Date: Re: Xcode stops respecting breakpoints
  • Previous by thread: Re: setting up project with App and quicklook and spotlight plug-ins
  • Next by thread: Re: Xcode stops respecting breakpoints
  • Index(es):
    • Date
    • Thread