I need to do following.
Source code is located in
src\MY_SOURCE_PATH\SourceFiles
I need to expand macros, especially because I use macros to generate some source code (guards for serializing enums in example, also the same thing is done by some libraries I use (Offirmo, SparkParticleEngine) but I don't want macros polluting my users namespace nor write a lot of code by hand.
So I need to preprocess some macros (not all, for example I don't want to expand things like "assert" or include guards) and create a clone of my source dir.
src_expanded\MY_SOURCE_PATH\SourceFilesWithLessMacros
then I would run "build" on that new directory, and finally I want to move headers that match a particular REGEX (headers prefixed with "libraryPrefix") on a Include Directory
include\MY_SOURCE_PATH\HeadersMarkedAsPublicIncludes
so that users cannot include implementation headers