Re: Header file locations in Carbon App
Re: Header file locations in Carbon App
- Subject: Re: Header file locations in Carbon App
- From: Scott Tooker <email@hidden>
- Date: Wed, 5 Jan 2005 16:30:43 -0800
On Jan 5, 2005, at 1:04 PM, Mike Lazear wrote:
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?
The strikethrough line means that the active build style is overriding
that build setting. If you remove the setting from the active build
style the strikethrough will go away.
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?
You could try $(SRCROOT) or $(PROJECT_DIR).
Scott
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
_______________________________________________
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:
This email sent to email@hidden