Re: Including different libs based on build style
Re: Including different libs based on build style
- Subject: Re: Including different libs based on build style
- From: "Mike Pinkerton" <email@hidden>
- Date: Thu, 26 Aug 2004 09:23:24 -0400 (EDT)
- Organization: AOL
Just wanted to let everyone know that this works great and solves my
problem with needing two separate targets. Since the debug/release libs
are named the same, it works, though it doesn't solve the more general
case of inclusion/exclusion of files.
Minor correction, it should be -lMyFoo.a to pick up libMyFoo.a, but
other than that, it's great. I love solving problems by removing huge
chunks of complexity :D
Thanks Dave!!!
Dave Camp wrote on 8/25/04, 5:25 PM:
> In the build styles, define variables with the paths to the two
> different libraries to use. myVar = path/to/library.
> In the target settings, add a library search path of ${myvar}. In the
> additional linker flags, place a -llibMyFoo.a
--
Mike Pinkerton
Mac Weenie
email@hidden http://people.netscape.com/pinkerton/
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.