I am reading a book, the source code of its chapters come in a directory hierarchy as follows:
Source:
<>/Src/Chapter_x/Program/
Build and makefile:
<>/Linux/Chapter_x/Program/
Special Includes:
<>/Src/GLTools/include/
<>/Src/GLTools/include/GL
Opening a project for each chapter and specifying the extra include directories is too much manual work.(to get code completion for the extra classes provided)
Is there a way I can point at the root of the build directory and have an IDE (Eclipse, Kdevelop, QtCreator, a text editor.. anything) load the appropriate source files on demand (based on the makefiles, which also lists the extra includes)?