Bug 338968 - .kdev_include_paths not used anymore
Summary: .kdev_include_paths not used anymore
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-10 09:16 UTC by Maciej Cencora
Modified: 2014-10-03 06:13 UTC (History)
1 user (show)

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 Maciej Cencora 2014-09-10 09:16:08 UTC
One of the recent commits removed support for providing include paths through .kdev_include_paths file.
In my project I used to generate the list of include paths with custom script. With removed support for .kdev_include_paths there is no way to do this <b>automatically</b> from cli.
Include paths change quiet often in my project (mostly new are added) so using the GUI for this in a couple of project subdirs is rather slow/annoying.

Please bring back support for .kdev_include_paths files.

Reproducible: Always
Comment 1 Sergey Kalinichev 2014-09-13 13:38:13 UTC
 I see. But, there was a discussion on the mailing list about where to store includes/defines. We came to the conclusion that we should use .kdev4 project file for that and .kdev_include_paths for out-of-project files.

Still, if you say that you really add include paths all the time (can't imagine though why does it happen for you. E.g. I usually add include paths once or twice per project), maybe we should implement some simple cli utility then, that'll read include paths from some file and convert it to the new format?

What do you think?
Comment 2 Maciej Cencora 2014-09-13 16:29:22 UTC
This is a rapidly growing project (>100 commits a day) and new functionalities are added into seperate directories which requires adding new include paths.

Yes, a simple cli that would allow to modify these paths is ok too.
Comment 3 Sergey Kalinichev 2014-09-17 07:36:57 UTC
Here it's: https://git.reviewboard.kde.org/r/120240/
Any feedback is welcomed.
Comment 4 Sergey Kalinichev 2014-10-03 06:13:36 UTC
Git commit ddf3f8209da8808d1741ce029dd6bf08c0727a41 by Sergey Kalinichev.
Committed on 14/09/2014 at 07:59.
Pushed by skalinichev into branch 'master'.

Add cli utility to modify include paths

This utility makes it possible to modify include paths of a project
from command line.

REVIEW: 120240

M  +10   -0    languages/plugins/custom-definesandincludes/CMakeLists.txt
A  +246  -0    languages/plugins/custom-definesandincludes/includepathsconverter.cpp     [License: GPL (v2+)]
A  +54   -0    languages/plugins/custom-definesandincludes/includepathsconverter.h     [License: GPL (v2+)]

http://commits.kde.org/kdevelop/ddf3f8209da8808d1741ce029dd6bf08c0727a41