• 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: Including different libs based on build style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Including different libs based on build style


  • Subject: Re: Including different libs based on build style
  • From: "Mike Pinkerton" <email@hidden>
  • Date: Thu, 26 Aug 2004 09:23:24 -0400 (EDT)
  • Organization: AOL

Just wanted to let everyone know that this works great and solves my
problem with needing two separate targets. Since the debug/release libs
are named the same, it works, though it doesn't solve the more general
case of inclusion/exclusion of files.

Minor correction, it should be -lMyFoo.a to pick up libMyFoo.a, but
other than that, it's great. I love solving problems by removing huge
chunks of complexity :D

Thanks Dave!!!

Dave Camp wrote on 8/25/04, 5:25 PM:

 > In the build styles, define variables with the paths to the two
 > different libraries to use. myVar = path/to/library.
 > In the target settings, add a library search path of ${myvar}. In the
 > additional linker flags, place a -llibMyFoo.a

--
Mike Pinkerton
Mac Weenie
email@hidden           http://people.netscape.com/pinkerton/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Including different libs based on build style (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: Build System - Default Install Permissions prevent Cleaning
  • Next by Date: Re: time.h vs Time.h
  • Previous by thread: Re: Including different libs based on build style
  • Next by thread: Re: Including different libs based on build style
  • Index(es):
    • Date
    • Thread