Overriding a default library header path
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