Bug#33650: adding custom includes paths to a project
pupeno at pupeno.com.ar
pupeno at pupeno.com.ar
Sat Oct 13 06:51:46 UTC 2001
Package: kdevelop
Version: 2.0.1 (using KDE 2.2.1 )
Severity: wishlist
Installed from: Mandrake RPMs
Compiler: Not Specified
OS: Linux
OS/Compiler notes: Mandrake 8.1
I'm working on a project that contains several subdirectories, and some subderoctires inside others... all of them with source code that turns into a static library (thanks to KDevelop, it was so easy!).
But, I have a problem, some directories need the header files of other directories, so, I would like to add them to the include path, but I don't want to declare a full path because that makes unversatile my project. so I use $(top_srcdir), but I don't know why, when I write -I$(top_srcdir) on the compiler options I just get an sh (shell) error when runing autoconf/automake or ocnfigure and of course, it's not added, if I write -I$$(top_srcdir) as someone told me, it's added, but the $ are replaced by a random number, so I get -I22334(top_srcdir). I'm not sure if this is a bug, as long as I know, I'll report it.
So, I end modifying Makefile.am by hand and runing make force-reedit, because kdevelop writes Makefile.am and what I did gets lost.
So, I think this should be configurable (maybe this is configurable or the right way to work is diferent, if this is the case, I'm really sorry), I don't have any idea of how to add this feature as long as you don't have per directory configuration and there is one Makeilfe.am per directory, but adding a extended including field in the compiler options would be nice (of course, there should work that variables, top_srcdir, etc, etc).
Thank you.
(Submitted via bugs.kde.org)
-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop-devel
mailing list