• 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
Building a Dependency with specific flag?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building a Dependency with specific flag?


  • Subject: Building a Dependency with specific flag?
  • From: Seth Willits <email@hidden>
  • Date: Mon, 17 Sep 2012 14:55:23 -0700

What I want:
----------
I have a framework project which is a dependency in two separate application projects. When the framework is built for app A, I would like to be built with a compiler flag, say -DFOO, and when building for app B it should build with -DBAR.

It would be nice to be able to add some setting to the applications' projects which specifies how the dependency should be built, but I can't find any control over that.


What I tried:
----------
I thought I could add configuration sets to the framework, say Release Foo, Release Bar, each defining the appropriate define, and then up in the application projects add a configuration set with the same name which would cause the framework to be built using the same configuration, thus resulting in the application's project deciding which configuration the framework is built with… *however*, that doesn't seem to be working. It's still building the framework with the standard Release configuration despite the application being built with Release Foo.


Anyone know how to solve this?


--
Seth Willits




 _______________________________________________
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: Adding externally managed sources to a project
  • Next by Date: Retina images in Xcode 3
  • Previous by thread: Re: Build fails if no internet access [SOLVED]
  • Next by thread: Retina images in Xcode 3
  • Index(es):
    • Date
    • Thread