I am currently working on a project that has several directories with `inc.h` file in each, which are included from command line during compilation, to keep include list in files clean (they contain declarations and definitions of things used in many different places). I would really love to see a way to tell C++ Language Support plugin to tread those files as included automatically in every file in given directory and its subdirectories. Reproducible: Didn't try
*** This bug has been confirmed by popular vote. ***
Git commit 236dbb9eea46f2f1e297dbd443e05fe7288b073b by Sergey Kalinichev. Committed on 01/03/2014 at 19:25. Pushed by skalinichev into branch 'master'. Add auto include headers feature. To use this feature simply add /full/path/to/the/header.h in .kdev_include_paths. And this file will be added to all files in specified directory and its subdirectories as if each file #include'd it (see also -include command line option of clang/gcc). REVIEW: 116053 M +19 -1 languages/cpp/preprocessjob.cpp http://commits.kde.org/kdevelop/236dbb9eea46f2f1e297dbd443e05fe7288b073b
Excellent work! And good to see that we're in C++11 now days. :) Thank you