• 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: Changing the type of a Target
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the type of a Target


  • Subject: Re: Changing the type of a Target
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 4 Mar 2004 10:57:08 -0800

On Mar 4, 2004, at 10:26 AM, Steve Sisak wrote:

How does one change the type of an XCode target (or create a new target of a different type containing the same files/headers)?

The hard way: 1) Create a new target of the type you want 2) Open the old target and group-select everything in it 3) Drag it all to the new target

Specifically, I'd like to delete the main() of a unix application and turn it into a static library which can used in a Carbon application.

You could change the "Library Style" setting in the target ("General" group") to "Static," but there are so many other fiddly changes you need to make that it's hardly worth it.


Chris
_______________________________________________
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.


  • Follow-Ups:
    • Re: Changing the type of a Target
      • From: Steve Sisak <email@hidden>
References: 
 >Try setting environment variable MallocHelp to see tools to help debug? (From: Ken Hawkins <email@hidden>)
 >Changing the type of a Target (From: Steve Sisak <email@hidden>)

  • Prev by Date: Re: How to specify paths to be searched for #include files
  • Next by Date: Re: Changing the type of a Target
  • Previous by thread: Changing the type of a Target
  • Next by thread: Re: Changing the type of a Target
  • Index(es):
    • Date
    • Thread