• 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
Xcode 4 - public headers path from subproject from build directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Xcode 4 - public headers path from subproject from build directory
      • From: Thomas Engelmeier <email@hidden>
    • Re: Xcode 4 - public headers path from subproject from build directory
      • From: Rory O'Bryan <email@hidden>
  • Prev by Date: Re: Building with "Symbols Hidden by Default" enabled/-fvisibility=hidden, but still receiving duplicate symbols.
  • Next by Date: Re: Building with "Symbols Hidden by Default" enabled/-fvisibility=hidden, but still receiving duplicate symbols.
  • Previous by thread: Re: Building with "Symbols Hidden by Default" enabled/-fvisibility=hidden, but still receiving duplicate symbols.
  • Next by thread: Re: Xcode 4 - public headers path from subproject from build directory
  • Index(es):
    • Date
    • Thread