RE: Specifying userhome as linking search path
RE: Specifying userhome as linking search path
- Subject: RE: Specifying userhome as linking search path
- From: "Michael Ljunggren" <email@hidden>
- Date: Sun, 28 Jan 2007 17:53:42 +0100
- Organization: Alien Connections
Hello Douglas,
Thank you for the tip. This will work, most likely, and it is
a good compromise as the sought after libraries really shouldn't
be tied to "specific" locations like user homes.
Thanks again :-)
/Michael
> -----Original Message-----
> From: Douglas Norton [mailto:email@hidden]
> Sent: den 28 januari 2007 17:43
> To: Michael Ljunggren
> Cc: email@hidden
> Subject: Re: Specifying userhome as linking search path
>
> Michael
>
> I use the source trees preference in Xcode and add a variable
> that is the path the outermost folder of the project
> concerned. Then within the Xcode project, I make sure that
> the 'Path Type' option is relative to the variable I have
> defined. In this way, each developer is free to store the
> project wherever they wish, as long as the folder structure
> of the project itself is kept intact, and they maintain their
> source tree definition.
>
> e.g.
>
> In source trees set: HELLO_PROJECT_ROOT_PATH to /User/Developer
> on the first machine and /User/Developer2 on the second.
>
> Then in Xcode, 'Get Info' on hello.lib and set:
>
> Path Type Relative to HELLO_PROJECT_ROOT_PATH
>
> HTH
>
> Douglas
>
> On Jan 28, 2007, at 6:10 AM, Michael Ljunggren wrote:
>
> > Greetings all.
> > I am using XCode 2.4.1 and have a small problem when trying to link
> > with a static library.
> > The location of the static library is the same for all involved
> > workstations, namely somewhere in the users home:
> >
> > /Users/Developer/library/hello.lib
> >
> > but if someone else is linking, or I link on another
> computer it could
> > also be
> >
> > /Users/Developer2/library/hello.lib
> >
> > The thing is that the location of the library could always be
> > described as
> >
> > ~/library/hello.lib
> >
> > but apparently the tilde ~ sign is not allowed when
> specifying a path
> > when linking.
> > Is that correct? I have been trying to specify this in all ways
> > possible but can't figure it out.
> >
> > Is there a shortcut in specifying such a directory during
> linking or
> > am I stuck with some sort of config-file editing everytime
> it is being
> > linked at another computer?
> >
> > Thanks for your insight; I am sure you have it ;-)
> >
> > /Michael Ljunggren
> > Alien Connections
_______________________________________________
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