Re: How to add include path and library path in XCode project
Re: How to add include path and library path in XCode project
- Subject: Re: How to add include path and library path in XCode project
- From: Todd Heberlein <email@hidden>
- Date: Sat, 25 Jul 2009 08:17:47 -0700
You're looking for "Header Search Path" and "Library Search
Paths." They're there. Use the handy search field at the top to
find them.
Also, make sure the "Show" pop-up is set to "All Settings".
Also check the "Configuration:" setting, since adding a library to the
"Debug" setting won't add it to the "Release" setting.
For my current project, which builds a library (AMF) and also uses the
libxml2 library and applications that link against them, under the
"Linking" group for an application I added
Other Linker Flags | -lxml2 -lAMF
Under "Search Paths" group I added
Header Search Paths | /usr/include/libxml2/** .
Library Search Paths | /Users/heberlei/Development/amf/builf/Debug
Then for the "Release" version of the application I have a different
"Library Search Paths" pointing to the "Release" version of the library.
Todd
_______________________________________________
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