One way to achieve that is to write a convenience header that includes all the headers you want. Keep in mind that including headers you will not use may unnecessarily increase compilation time.
You can't, without running a script beforehand that generates all #include statements.
The preprocessor can only handle one file per #include statement, so it requires an actual #include for every single file you wish to be included in preprocessing.
Look at how Boost does this for, say,
utility.hpp
.Now you can just use
#include <boost/utility.hpp>
.One way to achieve that is to write a convenience header that includes all the headers you want. Keep in mind that including headers you will not use may unnecessarily increase compilation time.
You can't, without running a script beforehand that generates all #include statements.
The preprocessor can only handle one file per #include statement, so it requires an actual #include for every single file you wish to be included in preprocessing.
In bash: