Autogen: AUTOMOC support for files with the same name but different extensions
This adds support for AUTOMOC
to moc header files with the same but different
extensions (e.g obj.h
, obj.hpp
, obj.hxx
). If a moc file would appear
multiple times in mocs_compilation.cpp
, a number suffix is appended
to the name to make it unique.
An already included test is extended to cover the scenario.