custom make, builddir != srcdir
David nolden
david.nolden.kdevelop at art-master.de
Sat Feb 14 11:57:46 UTC 2009
Am Samstag 14 Februar 2009 12:45:14 schrieb Andreas Pakulat:
> > VPATH=/home/ghost/Work/CodeSourcery/Projects/egdb/gdb-fresh
>
> And how should custom-makefile support know this automake specific
> variable? IMHO it should not, that would be part of autotools support.
CMake makefiles contain a very similar variable.
Custommake could just go through the Makefile, collect all variable-
definitions that look like a path and point to a valid directory, and don't
equal the build-directory.
In the case of CMake, the only resulting one will be the source-directory.
Then the user can be asked to pick one of the resulting directories, or
alternatively an own one. In most cases it would probably automatically pick
the correct dir, or have a very limited choice where one is the right
directory, thus it would be convenient.
Greetings, David
More information about the KDevelop-devel
mailing list