Re: Creating a Carbon Framework with header files in multiple directories.
Re: Creating a Carbon Framework with header files in multiple directories.
- Subject: Re: Creating a Carbon Framework with header files in multiple directories.
- From: Matthew Tobiasz <email@hidden>
- Date: Wed, 14 Nov 2007 10:33:14 -0700
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:
40ucalgary.ca
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