I have run into a build problem that led me to a feature idea.
I would like to see a way to have the module_builder_t.split_module()
method return a list of all the files it created.
I have been running into a problem lately where a later run of my
generation script may generate a different set of source files then a
previous run. (for example removing a class) Py++ correctly generates
the new code, but the old .cpp files are still in the source tree and
get picked up by my build. If module builder returned a list of files,
then I could check this against the files on disk and automatically
remove old files that I don't need anymore.
Thoughts? Anyone else think this would be useful or do you use another
way to achieve the same results?
-Allen
|