Creating a Carbon Framework with header files in multiple directories.
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