• 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: Xcode - linking libraries based on Configuration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode - linking libraries based on Configuration


  • Subject: Re: Xcode - linking libraries based on Configuration
  • From: David Cohn <email@hidden>
  • Date: Tue, 31 Jan 2006 09:05:25 -0800

Lou,

Sounds workable, if a bit cumbersome...
If I understand you correctly, every time you switch Configurations in project A, you also have to rebuild B?


Thanks,
--Dave



On Jan 31, 2006, at 8:34 AM, email@hidden wrote:

I don't believe the search paths are used or if they are used the filename does not get separated from the path cleanly.
The only way I was able to use different paths for different configurations was to add build steps
to copy the libraries around.


For example if project a links in a static link from project b

I set up project b to copy the build library from $CONFIGURATION/ xxx.o to a common base folder.
Then I modified project a to copy from the common base folder to $CONFIGURATION.


 Lou Sakey
DFIS WW S+SE LOWELL DEVELOPMENT CTR
email@hidden
KNET 27-67676
978-323-7676



>> I've got a project with two Build Configurations-- Debug and Release.
>> "Library Search Paths" includes a "Debug" directory for one
>> Configuration, and a "Release" directory for the other. (Both
>> directories contain a "linkedlib.a")
>>
>
> Don't do this.



"Don't do this" seems unambiguously dire, but this is the only way I can get this to work...

Does anyone know why this shouldn't be done?

_______________________________________________ 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: Xcode - linking libraries based on Configuration
      • From: email@hidden
References: 
 >Re: Xcode - linking libraries based on Configuration (From: email@hidden)

  • Prev by Date: Re: Java Compile Bug - 'Cannot resolve symbol'
  • Next by Date: RE: Undefined symbols - cross development
  • Previous by thread: Re: Xcode - linking libraries based on Configuration
  • Next by thread: Re: Xcode - linking libraries based on Configuration
  • Index(es):
    • Date
    • Thread