hwaf: add hooks for CMT-legacy
ROOT: really fixup selection.xml dependency discovery + allow to add extra c++ source files to genreflex