• 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: Douglas Norton <email@hidden>
  • Date: Fri, 3 Mar 2006 10:48:26 +0000

On 2 Mar 2006, at 18:20, Chris Espinosa wrote:

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

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

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


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.


Are there any plans to have a better way to set this. I too want to use different libraries in different configurations.

I want to build a debug target and a release target to protect me from mixing debug and release code in the same app bundle. Therefore I want to stop myself from using the debug configuration in the release target and vice versa.

I want to be able to set target membership for the build configurations. Then I could use the existing target membership to control my library selection.

Any plans ?

Douglas
_______________________________________________
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: Dieter Oberkofler <email@hidden>
References: 
 >Re: Different libraries to use for Debug and Release build (From: Dieter Oberkofler <email@hidden>)
 >Re: Different libraries to use for Debug and Release build (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Debug Symbols in Shark
  • Next by Date: [ANN] DMG Packager 1.0
  • 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