views:

43

answers:

0

I've included a static library into my project (by using Xcode project references) and I've got a question about building with it.

The included Xcode project has 2 build configurations, debug and release, whereas my project has 3, debug, release and distribution.

When building with debug, my project is built with it's debug config, and the included project is built with it's own debug config. I can tell this because I had a problem in the included project's debug config which prevented the build. This is now fixed!

My question is that I'm not sure how the included project is built when I build my project with the distribution configuration (which is not defined in the included project). I can tell the projects are all built with the distribution config as it is displayed in the build results, however the project does not have a distribution config defined. Where is it getting the config from? Is it inheriting it from my project? And if so, would the build paths not be wrong?

I'm looking in the build folder of the included project and there is not a distribution build folder! So it's reported that it is built with distribution config however I can't see the build output for the static library's project.

I hope the question is clear and that someone can let me know what's going on :)