• 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: Adding (static) libraries to target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding (static) libraries to target


  • Subject: Re: Adding (static) libraries to target
  • From: Scott Tooker <email@hidden>
  • Date: Wed, 11 May 2005 10:34:55 -0700

Go to the "Products" group and add the product reference for the library to the target you want.

Any target that creates a product adds a product reference to Xcode (by default this shows up in the Products group).

Scott

On May 11, 2005, at 9:12 AM, Justin Walker wrote:


On May 11, 2005, at 8:32, George Warner wrote:


On Tue, 10 May 2005 12:10:35 -0700, Justin Walker <email@hidden> wrote:

I would like to create a static library within the project to contain
those files, so that the other programs can consist of one file, plus
libraries.


I can create the library in the project and build it, but I cannot seem
to persuade Xcode to add this to a target (newly created). I create
the new target, successfully add the primary source file and a few
other libraries, but when I try to "add existing frameworks...", and
navigate to the built library, it is grayed out. I haven't found an
alternate way to add the library.



I usually just drag the built library into the project and then the dialog
pops up and I select the appropriate targets and import/path options and hit
ok.



I hadn't tried that, but it sounds like it works for "external" (to the project) libraries. In this case, I want to build the library as part of the project. Do you think it will work in my case?


Thanks.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
"Weaseling out of things is what separates us from the animals.
 Well, except the weasel."
      - Homer J Simpson
--------

_______________________________________________
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


_______________________________________________ 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
References: 
 >re: Adding (static) libraries to target (From: George Warner <email@hidden>)
 >Re: Adding (static) libraries to target (From: Justin Walker <email@hidden>)

  • Prev by Date: Re: IB - cut/copy and paste, duplicate, or option-drag loses bindings?
  • Next by Date: Undefined symbols: typeinfo for ... in XCode 2.0
  • Previous by thread: Re: Adding (static) libraries to target
  • Next by thread: libtool, makefiles, & 10.4?
  • Index(es):
    • Date
    • Thread