• 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: How to attach headers to targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to attach headers to targets


  • Subject: Re: How to attach headers to targets
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 22 Jul 2005 09:07:45 -0700

On Jul 22, 2005, at 5:14 AM, Andreas Grosam wrote:

how can i attach header files in XCode 2.1 to a target, without using a CopyFiles or CopyHeaders build phase?

The reason is, if there is no target attached to a header file, the header can't be preprocessed nor can it be compiled explicitly per command. Simply, because the commands are disabled (probably, due to the lack of any build setting information).

But preprocessing and compiling is often usefull for testing syntax or getting more information how macros exand.

Note, in XCode 1.5 there was the "Headers Build Phase", which does not exist anymore on my XCode 2.1.


THis wouldn't work anyway. As far as I can tell, Preprocess, Show Assembly Code, and Compile don't work for anything but C/C++/Objective-C source files. Please file a bug.

Chris

_______________________________________________
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: How to attach headers to targets
      • From: Andreas Grosam <email@hidden>
References: 
 >How to attach headers to targets (From: Andreas Grosam <email@hidden>)

  • Prev by Date: Re: linking against stdandard libraries
  • Next by Date: Re: Developer Transition System
  • Previous by thread: How to attach headers to targets
  • Next by thread: Re: How to attach headers to targets
  • Index(es):
    • Date
    • Thread