• 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
Re: Creating a Carbon Framework with header files in multiple sub-directories.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a Carbon Framework with header files in multiple sub-directories.


  • Subject: Re: Creating a Carbon Framework with header files in multiple sub-directories.
  • From: "Matthew Tobiasz" <email@hidden>
  • Date: Sat, 17 Nov 2007 11:32:06 -0700

Does anyone have a suggestion as to how I can go about making this kind framework? Or were framework's not intended to be built like this?

-Matthew

Having a look at some of the frameworks in /System/Library/Frameworks there is no example I could find of a framework with header files in a subdirectory below the root "Headers" directory. The one example I could find of this, is the Boost framework build script [ http:// archives.free.net.ph/message/20071026.232403.0dbc4633.en.html ] suggested by Joel Beaudoin, however this creates the framework with a build script not in Xcode.

Would I have to add a "Run Script Build Phase" to move this header files into the framework?

-Matthew


On 13-Nov-07, at 2:00 PM, Matthew Tobiasz wrote:

Dear, Xcode List:

I have a C++ library that I'm trying to port to a Carbon Framework. I've been able to successfully create frameworks in the past, however this particular library I'm porting uses a multi-level source code directory structure, which is something I don't know how to build in Xcode. The directory structure is something like this:

src   -- a bunch of .h/.cpp files here
src/utils  -- more .h/.cpp files
src/timers -- more .h/.cpp files
src/timers/generic  -- more .h/.cpp files

... and so on.

Now the public headers in src/timers/generic reference headers in src, so "../../someheader.h", which works out fine when building the framework, but since the directory structure isn't maintained in the bundled framework, things are messed up when I go to include the framework in another project (since somewhere.h is in the root directory of the framework not /timers/generic/someheader.h).

So how can I have the public header files bundled into the framework, reflecting my directory structure?

Thanks,
Matthew
_______________________________________________
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



_______________________________________________ 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




_______________________________________________ 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
References: 
 >Creating a Carbon Framework with header files in multiple directories. (From: Matthew Tobiasz <email@hidden>)
 >Re: Creating a Carbon Framework with header files in multiple directories. (From: Matthew Tobiasz <email@hidden>)

  • Prev by Date: Re: Breakpoints doesn't work - more info
  • Next by Date: Re: Breakpoints doesn't work - more info
  • Previous by thread: Re: Creating a Carbon Framework with header files in multiple directories.
  • Next by thread: Re: Creating a Carbon Framework with header files in multiple directories.
  • Index(es):
    • Date
    • Thread