[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.cdt] Re: fun with paths in eclipse

Tim Black wrote:

I don't use managed make because I write my own makefiles so I can make from
the command line. So this started out as an Empty C++ makefile project.

I'll check on pwd when I get back to work in the morning. I would like to
learn more about how eclipse executes make targets, e.g. how is pwd defined, and how can you change it...

The pwd of the "make target" is the folder where you created it. So if you create the target in the project root folder your build command is:
make -C SubFolder1


The best thing is to open the "Make Target" view. There you can see all your make targets and can edit or execute them. I would suggest you enable the icon "Hide empty folders" (top of the view), so you only see the actual targets and not the whole source tree.

 Axel