[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: Re: Include path for duchain with custom makefile projects.
From: David Nolden <david.nolden.kdevelop () art-master ! de>
Date: 2009-05-19 9:14:16
Message-ID: 200905191114.19911.david.nolden.kdevelop () art-master ! de
[Download RAW message or body]
What version of KDevelop are you using? Since a few weeks, it is very easy to
add custom include paths similar to your hack, but more flexibly.
Just put a ".kdev_include_paths" file with a newline separated list of
include-paths into any place in or above your source directory, and KDevelop
will always use the include-paths from the closest such file above the source
file.
Actually this also has an assistant right within KDevelop, which allows you
adding such paths if an include has not been found. Just move the cursor over
a not found include directive, or right-click on it (Although this is only
recently working really good).
For a better fix than this workaround, there is a something called "include
path resolver" that uses the "make" utility to extract include paths from the
command line. If this include path resolver can be adapted to your makefiles
without too much hassle, it would make sense, but only if your Makefiles are
not too crazy.
Greetings, David
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic