complex custom makefiles in kdevelop4

David Nolden david.nolden.kdevelop at art-master.de
Sat Sep 5 23:34:48 UTC 2009


KDevelop does exactly what you talk about, but it not within the custom-make 
manager.

See kdevelop/languages/cpp/includepathresolver.cpp. It is a very big hack, and 
may fail in some cases, as makefiles can just do completely arbitrary stuff, 
have strangely named targets, etc.

But it works very well with many different kinds of Makefiles. It doesn't seem 
to work with your makefiles though, if it doesn't pick up your include paths. 
You can also build a command-line tool "kdevincludepathresolver" for 
debugging. Maybe you can find out what's going wrong there.

Greetings, David





More information about the KDevelop-devel mailing list