It doesn't work properly when a source file includes a header from a
different component in the local package and that header tries to include
a generated header in its own component. Adding the generated source
directories of all used compnents isn't good either, in case multiple
components have generated headers with the same name.