• 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: Header file locations in Carbon App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Header file locations in Carbon App


  • Subject: Re: Header file locations in Carbon App
  • From: Tommy Nordgren <email@hidden>
  • Date: Wed, 5 Jan 2005 22:17:25 +0100


Jan 5, 2005 kl. 10:04 PM skrev Mike Lazear:

Background
I have 3rd party project where all paths were hardcoded to locations on the person's hard disk and I'm trying to redo the project so that it can be moved around easily in the future. This project has a couple of header files that go with it's source files and the 30-40 header files that go with it's libraries. I've added the headers that go with the source to the project. I was trying to include the headers that go with the libraries without having to add them to the project, similar to the way the system headers work.


When I select "Edit Active target" on the Project menu I get a window with tabs at the top: General, Build, Rules, Properties, Comments. Under the Build tab I get a table of values & paths that can be set.

Questions:
1. In the list of settings on the left I have "Header Search Paths", which is what I believe I want to use. However, it has a line thru it. Which I would think either means it is not available to use or somehow it's use is turned off. Does anyone know why some settings have a line thru them, what that means and if there is a way to remove the line?


2. In entering the path for both the header search path and the library search path I would like to make these paths relative to the project. I've seen a number of the environment type defines: $(USER), $(HOME), $(GROUP).... Where are these defined and how do I know what value they are set to? Can I create my own?

3. In trying to find the answer to question 2 I've searched the mail list, Apple Dev Docs (on-line), and XCode help. In all cases if I try to do a search for "$(USER)" it finds the places where the word "user" exists, which of course are many and of no value. Any idea of how search of a literal "$(USER)" in any of these places? (I've tried in quotes, I've tried in the Advanced search..)

Any help with any of these questions is very much appreciated,
Mike

As far as I know :
$(USER) : Your user name
$(HOME): Your home directory
$(GROUP) : The group to which your account belong

These environment variables are as far as I know passed in from the environment when XCode is launched.

Hope this helps,
Tommy Nordgren

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Recommended Books for Obj-c
  • Next by Date: Re: Recommended Books for Obj-c
  • Previous by thread: RE: Recommended Books for Obj-c
  • Next by thread: How Do I Flip An NSScrollView?
  • Index(es):
    • Date
    • Thread