Add dynamic dependencies scan for genreflex dictionaries
only supported with Ninja generators or CMake >= 3.20 (as it seems that IMPLICIT_DEPENDS
only works when using include_directories
and not target specific includes).
Closes #152 (closed)
Note: based on !1182 (merged) to fix conflicts
Edited by Marco Clemencic