[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:

The problem lies in properly specifying path information in the "Build
command" in the "Modify Make Target" dialog. The only way I've gotten it to work is to put the full, absolute path in there, like follows:
make -C /cygdrive/c/ProjectRoot/SubFolder1/
This is of course, horrible, because none of my colleagues can use this
shared project without changing all the "Build Command" settings.
I had first tried a "Build Command" like:
make -C SubFolder1/
thinking eclipse would understand I meant relative to the top-level of the
project. But this doesn't work. By the way, all of the above work fine if I cd to ProjectRoot and type the same command at the cygwin command line.

Are you sure that your current directory is in the project root? You did not say what kind of project you created initially but for managed build the current folder is in Debug/ or Release/ folder.

Try to make another make target and substitute "make" command with "pwd" to find out for sure.

Andrew