• 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: Different libraries to use for Debug and Release build
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Different libraries to use for Debug and Release build


  • Subject: Re: Different libraries to use for Debug and Release build
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 2 Mar 2006 10:20:10 -0800


On Mar 2, 2006, at 10:10 AM, Dieter Oberkofler wrote:

On Feb 28, 2006, at 6:59 PM, Dieter Oberkofler wrote:

Hi,
I would like to setup a project using a different set of (static) libraries when building a Debug version opposed to a Release version.
Can this be done in a XCode 2.1 project except for setting up more then one target?
Thank you in advance,
Dieter
On Feb 28, 2006, at 5:02 PM, Rustam Muginov wrote:

In the XCode 1.5 i did it using the same libraries names and different folders for debug and release version, and using different "Library search path" in the different Build Styles
--


Sincerely,
	Rustam Muginov
Hi!
I was wondering, if this is really the only way to do this?
Thank you in advance,

Yes, though you'd use Build Configurations now instead of Build Styles.

You have one target with two configurations (Debug and Release). You don't actually add any of your shared libraries to the project, but instead set the Other Linker Flags in each configuration to have full - l/path/to/my/staticlib.a entries, different for each configuration.

Chris

_______________________________________________
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


  • Follow-Ups:
    • Re: Different libraries to use for Debug and Release build
      • From: Douglas Norton <email@hidden>
References: 
 >Re: Different libraries to use for Debug and Release build (From: Dieter Oberkofler <email@hidden>)

  • Prev by Date: Re: Different libraries to use for Debug and Release build
  • Next by Date: Precompiled header
  • Previous by thread: Re: Different libraries to use for Debug and Release build
  • Next by thread: Re: Different libraries to use for Debug and Release build
  • Index(es):
    • Date
    • Thread