Xcode 4 - public headers path from subproject from build directory
Xcode 4 - public headers path from subproject from build directory
- Subject: Xcode 4 - public headers path from subproject from build directory
- From: Robert Vojta <email@hidden>
- Date: Mon, 11 Apr 2011 21:22:50 +0200
Hallo all,
I'm puzzled and maybe I'm overlooking something. I have two projects - let's name it MyLib (iOS static library) and MyApp (iOS application, which does use MyLib). Both projects are set up in this way:
[1] MyLib
- output public headers path is set to /usr/local/include/libMyLib
- public headers are placed in build/Release-iphoneos/usr/local/include/libMyLib after successfull build
[2] MyApp
- group Dependencies does contain MyLib Xcode project
- target dependency is setup
- linking is setup
- headers path to MyLib is set as relative path to MyLib project source code directory
So far, so good, everything does work perfectly.
The problem is that it points to MyLib source code tree directly and I do not want this. I want to use MyLib headers from MyLib/build/Release-iphoneos/usr/local/include/libMyLib directory.
Is there a way how to do this? Some environment variable to use in header search path? Any idea? Without hardcoding Release-iphoneos, build, ... into this path?
Regards,
Robert Vojta
_______________________________________________
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