Building a Dependency with specific flag?
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