
13 Feb
2013
13 Feb
'13
8:01 a.m.
2013/2/13 Adam Badura <abadura@o2.pl>
Is it possible to use preprocessor to generate #include directives (or in any other way include the files)?
For example if I would have a sequence of strings (being file paths) what to do to include all those files? It is possible at all?
I guess, if it's possible, it may look like: #define INCLUDE_FILES(prefix, (f1)(f2)..., postfix) #include <include_files.hpp> where include_files.hpp may use some trick like file-loop... I may be wrong :p