Bug 33650 - adding custom includes paths to a project
Summary: adding custom includes paths to a project
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 2.0.1
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-13 07:03 UTC by pupeno
Modified: 2002-12-06 20:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pupeno 2001-10-13 06:51:46 UTC
(*** This bug was imported into bugs.kde.org ***)

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)
Comment 1 Caleb Tennis 2002-12-06 20:13:31 UTC
Using Gideon's Automake Project manager should make this less of a nightmare for you.