• 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
Creating an Xcode project for a large existing code-base
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating an Xcode project for a large existing code-base


  • Subject: Creating an Xcode project for a large existing code-base
  • From: Daniel Vollmer <email@hidden>
  • Date: Fri, 25 Jun 2010 18:45:53 +0200

I'm trying to create an Xcode project for an existing (make-built) Posix-C code-base, and there's a number of peculiarities that I'm unsure how to best replicate in or at least mediate to Xcode.

The code-base is split into a number of base libraries (which are currently built into static libraries), as well as some libraries and applications that are compiled differently based on defines (but in contrast to say a debug vs. release build, I want to build all* variants of them for the final release build). For example, I want a version of the application "solver" compiled for 5 as well as for 7 unknowns. This application links to the #define-independent base-libs as well as some libraries that also generate differently depending on my number of unknowns.

As I see it, I would define targets for all the libraries, add the relevant files, then specify any dependencies between them. That takes care of the #define-independant libs, but how do I tell Xcode to build two versions of a library (preferably under the same name but without confusing the dependency tracking) that are used in two different versions of the solver application (different build dirs?)?

Any advice?

Thanks,
	Daniel.

*Unless I decide I only want one of them while developing for example. _______________________________________________
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

  • Prev by Date: Re: Xcode 3.2.3-specific link-time error...
  • Next by Date: Help getting started - missing #includes
  • Previous by thread: Re: static and analyze not working in 3.2.3
  • Next by thread: Enrollment timeframe to become Apple Develeoper
  • Index(es):
    • Date
    • Thread