• 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: Development and Deployment linking to libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Development and Deployment linking to libraries


  • Subject: Re: Development and Deployment linking to libraries
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 3 Sep 2008 09:15:24 -0600


On Sep 3, 2008, at 9:05 AM, <email@hidden> <email@hidden > wrote:


Of course, but what if your library is already built in Debug/ Release flavors, and you don't have the source code (for example, a third-party library)?


That's a good question. I think the standard way of doing this is to rename the Debug library so that its name before the extension (if any) ends in "_debug", and then change the executable settings in the application to use a "debug" suffix as necessary. That way the "release" library will be used by default, but you can load the debug framework as needed. And if you're using a framework, then you'd have to copy over the debug framework code into the release framework.

There are other ways of doing this, e.g. setting the linker flags differently in each configuration.

Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request




_______________________________________________ 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: 
 >Development and Deployment linking to libraries (From: Bengt Nilsson <email@hidden>)
 >Re: Development and Deployment linking to libraries (From: Nick Zitzmann <email@hidden>)
 >Re: Development and Deployment linking to libraries (From: <email@hidden>)

  • Prev by Date: Re: Development and Deployment linking to libraries
  • Next by Date: Re: TraceEventByName on Leopard
  • Previous by thread: Re: Development and Deployment linking to libraries
  • Next by thread: Re: Development and Deployment linking to libraries
  • Index(es):
    • Date
    • Thread