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

Adding (static) libraries to target


  • Subject: Adding (static) libraries to target
  • From: Justin Walker <email@hidden>
  • Date: Tue, 10 May 2005 12:10:35 -0700

Hi, all,

Here's another one that's got me stuck. I have a vague recollection that this has been discussed before, but I have found nothing relevant in either doc or archives.

I have a batch of C++ code that is now a project in Xcode. There are about 20 files that make up the bulk of the system, and serve as common code for several programs.

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 greyed out. I haven't found an alternate way to add the library.

Clues or Pointers gratefully accepted...

Regards,

Justin

--
Justin C. Walker, Curmudgeon-at-Large
/~\ The ASCII
\ / Ribbon Campaign
 X  Help Cure HTML Email
/ \

_______________________________________________
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: Adding (static) libraries to target
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Array of numbers
  • Next by Date: libtool, makefiles, & 10.4?
  • Previous by thread: Re: Array of numbers
  • Next by thread: Re: Adding (static) libraries to target
  • Index(es):
    • Date
    • Thread