• 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: Copy Headers Build Phase is Flattening my directories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy Headers Build Phase is Flattening my directories


  • Subject: Re: Copy Headers Build Phase is Flattening my directories
  • From: Mike Jackson <email@hidden>
  • Date: Fri, 1 Jul 2005 22:49:25 -0400

Well, I guess now would be a good time to find out if I am going down the right path.

I joined a project that is creating cross platform apps using Fox Toolkit, OpenSceneGraph and VTK. I started out with a bunch of Makefiles that were designed for a Linux box and got them changed enough to build on Tiger. These Makefiles produce lib**.dylibs and I would imagine a the final resting place would be down in /usr/local/ lib and /usr/local/include.
There are at least 7 dylibs that are built before I even get to building the main app itself. I thought I would try to package this up the "Mac" way make frameworks our of all this. My background is 6+ years of Java. C++ is new to me so I am learning the "Right" and "wrong" ways of doing things.


So lets take an example from this project and give me your opinion whether I should stay with Frameworks or go back to Dylibs.

There is a Framework called Usul (Some greek thing) and it holds most of the interface files (.h) that our other frameworks implement. So in one of the other frameworks in the .cpp file there will be statements like:

#include "Usul/Errors/Assert.h"
#include "Usul/Cast/Cast.h"

So is this going to work for what I am trying to do or should I stick with just building dylibs and sticking them down in /usr/local/lib

Thanks for any input and direction. Again, I inherited this project and am new to C++. Not new to Apple though. You guys rock.

Mike Jackson

On Jul 1, 2005, at 6:06 PM, Scott Tooker wrote:

Just a side comment, but I don't think that multiple levels of directories will work well with framework-style #import/#include notation (i.e. <Carbon/Carbon.h>).

Scott

On Jul 1, 2005, at 10:38 AM, Mike Jackson wrote:


Is there a way to add files to XCode projects where the directory structure will stay in tact when copied to the "Headers" directory of a framework? Here is an example:

/ (Root Level of Source)
|-- Generic
    |--Export.h
|-- OtherStuff
    |--Export.h

When the Copy Headers Phase fires off I only get one header file at the top level of the "Headers" folder in the framework. I should have at least 2 folders there each containing a file called Export.h


I inherited this project, so I didn't have control over the naming conventions.


Thanks
---
Mike Jackson
mike _at_ bluequartz dot net


_______________________________________________ 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:
40bluequartz.net


This email sent to email@hidden



--- Mike Jackson mike _at_ bluequartz dot net


_______________________________________________ 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: 
 >Copy Headers Build Phase is Flattening my directories (From: Mike Jackson <email@hidden>)
 >Re: Copy Headers Build Phase is Flattening my directories (From: Scott Tooker <email@hidden>)

  • Prev by Date: Re: Shark problem: can't see source code
  • Next by Date: Adding system include paths
  • Previous by thread: Re: Copy Headers Build Phase is Flattening my directories
  • Next by thread: Re: Copy Headers Build Phase is Flattening my directories
  • Index(es):
    • Date
    • Thread