• 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: How to add include path and library path in XCode project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to add include path and library path in XCode project (From: n179911 <email@hidden>)
 >Re: How to add include path and library path in XCode project (From: Wade Williams <email@hidden>)
 >Re: How to add include path and library path in XCode project (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: How could I build a kext for OS X 10.0.x in XCode?
  • Next by Date: Copy File Phase - how to copy an archived file
  • Previous by thread: Re: How to add include path and library path in XCode project
  • Next by thread: [IB] How to fix app window height?
  • Index(es):
    • Date
    • Thread