How would you do this with an IDE ?
I am reading a book, the source code of its chapters come in a directory hierarchy as follows:
Build and makefile:
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)?