Re: question about using external build target
Re: question about using external build target
- Subject: Re: question about using external build target
- From: Kevin Hoyt <email@hidden>
- Date: Wed, 14 Jan 2004 10:45:18 -0800
Jim,
Thanks for the quick response.
Yes, it is easy to create such a project. So easy, I doubt I'll even save
them :-)
Is it possible to display the source files recorded in the debug
information? This would make setting breakpoints easier.
Kevin Hoyt
Jim Ingham <email@hidden>
01/14/2004 10:13 AM
To: Kevin Hoyt/San Jose/IBM@IBMUS
cc: email@hidden
Subject: Re: question about using external build target
Kevin,
You have to have an Xcode project - there isn't project-independent UI
to tell the debugger where to find the executable, etc. But the
project need only be a pretty light-weight one. All it has to have is
a custom executable in the project that points to whatever you have
built. So maintaining it should not be that much of a chore.
You don't actually need to pass include paths, or anything like that to
get the debugger to find the source files. All that is recorded in
debug information. So as long as the source files remain where they
were when you built the executable, the Xcode debugger will find them.
Jim
On Jan 14, 2004, at 8:27 AM, Kevin Hoyt wrote:
> Hi,
> I'd like to use gmake to do the build for my executables. I know that
> Xcode can do this with the 'external target' feature. However, it's
> not
> clear if you still need to have all of the files in the target or not.
>
> What I have is the complete gmake build system used by our other Unix
> platforms that I want to take advantage of for Mac. However, if I use
> gmake as the build system, what do I need to do in order to be able to
> debug the applications? Will I need to have full xcode projects, that
> use
> gmake to build, or is there another way? What I don't want to do is
> maintain the gmake build system and an xcode project.
>
> On some of our other platforms, it is possible to pass in the source
> code
> locations, as a set of include paths, and load an executable in the
> debugger without having a project. Can the same thing be done with
> Xcode?
>
> Kevin Hoyt
> _______________________________________________
> 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.
>
--
Jim Ingham email@hidden
Developer Tools
Apple Computer
_______________________________________________
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.