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
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?
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.
Here it's: https://git.reviewboard.kde.org/r/120240/ Any feedback is welcomed.
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