Genex: add $<TARGET_FILE_PREFIX:...> and $<TARGET_FILE_SUFFIX:...>

These capabilities complement MR !3190
and is also needed to solve issue #18771.
28 files changed