include dependencies to binding header
At the moment the include file lists for a binding module depends on the header containing the binding code (e.g. for for the class
FooImpl). This header has to be included in the
cc file in
dune-py since it contains the
registerFoo function. But at the moment that header is also included in the
_includes properties of the
FooImpl python object. So any change in that binding code leads to a recompilation of all modules using
FooImpl e.g. as parameter.
It would be could to separate the actual source files required for
FooImpl and the header for the binding.