custom make, builddir != srcdir

Vladimir Prus ghost at cs.msu.su
Sat Feb 14 08:57:40 UTC 2009


On Friday 13 February 2009 23:19:53 Andreas Pakulat wrote:
> On 13.02.09 22:28:36, Vladimir Prus wrote:
> > It appears KDevelop4 at present does not support custom make projects
> > where builddir is not the same as source dir. Does anybody knows
> > what it would take to implement such support, and what would be the
> > major steps, codewise?
> 
> Provide a setting in the custom-make-config dialog for the builddir, write
> code which calculates the relative path of a given folder/dir compared to
> the projects source root and adds the builddir before that (for
> buildDirectory()). 

I am somewhat confused. Say, I open a project given the Makefile (in build dir).
Say I've also added option to specify where source tree is. OK, but what do you
mean by:

	calculates the relative path of a given folder/dir compared to
	the projects source root and adds the builddir before that

? Is the 'buildDirectory()' method invoked on different directories?

- Volodya




More information about the KDevelop-devel mailing list