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

Creating a Carbon Framework with header files in multiple directories.


  • Subject: Creating a Carbon Framework with header files in multiple directories.
  • From: Matthew Tobiasz <email@hidden>
  • Date: Tue, 13 Nov 2007 14:00:35 -0700

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


  • Follow-Ups:
    • Re: Creating a Carbon Framework with header files in multiple directories.
      • From: Matthew Tobiasz <email@hidden>
  • Prev by Date: Re: build for 10.3.9 with Xcode 3.0
  • Next by Date: Re: Debugging SenTestingKit UnitTests on Leopard
  • Previous by thread: Re: Change Application Name
  • Next by thread: Re: Creating a Carbon Framework with header files in multiple directories.
  • Index(es):
    • Date
    • Thread