How can I add a folder and ALL ITS SUBFOLDERS to the "include searching path"? Then if myheader.h is in one of these folders, I can use "include <myheader.h>" instead of "include "path/myheader.h" ". I tried g++ -I, but with it I can only specify one folder, I don't know how to make it include all the subfolders.
I am using a library called spuc. And in its source code, it uses "include <XXX.h>" to include the header files from the library, and these header files are in different subfolders of the library root directory. How should I deal with it?