cmGeneratorTarget: Add GetLinkImplementationClosure mode for linking

Previously this method always returned the closure for compile-only
usage requirements.  Add an option to get the closure for linking, which
pierces `$<LINK_ONLY>`.
4 files changed