Re: Setting the compile location
Re: Setting the compile location
- Subject: Re: Setting the compile location
- From: Scott Tooker <email@hidden>
- Date: Mon, 26 Jan 2004 16:21:12 -0800
If adding all the files (including the headers) to the target is not
working, you can always just add a search path for that target that
points to the directory that contains the 'gui' directory.
Scott
On Jan 20, 2004, at 9:18 PM, Wade Williams wrote:
> I've got some code that's setup like:
>
> gui/src/gui.cpp
> gui/src/button.cpp
> gui/inc/gui.h
> gui/inc/button.h
>
> etc..
>
> The problem is, for this one target, I need the compile location to be
> in the gui directory, not the gui/src directory. There's some
> relative paths in the headers, and they expect the compilation to be
> happening from the GUI directory.
>
> Is there a way to set this in XCode? I understand that there are
> plenty of ways to fix it, but I'm trying to keep from modifying the
> headers or layout, as it works fine on Linux (i.e. because in the
> makefile, it builds from the gui directory and references src/gui.cpp,
> etc).
>
> So, is there a way I can tell XCode to compile in the gui directory,
> referencing the files as src/gui.cpp, src/button.cpp, etc?
>
> Thanks,
>
> Wade
> _______________________________________________
> xcode-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/xcode-users
> Do not post admin requests to the list. They will be ignored.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.