Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode - linking libraries based on Configuration



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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Xcode - linking libraries based on Configuration (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.