cxxmodules: make export trampoline script files unique
Include the name of the EXPORT
in the filename when generating export
information for C++ modules. This allows the same directory to be used
for multiple sets of C++ module-using targets.
For export(TARGETS)
uses, generate a name based on the hash of the
concatenation of the target names involved with the export()
call.
Fixes: #25609 (closed)
Backport: release:HEAD^2
Cc: @craig.scott
Edited by Brad King