Introduce CMAKE_<LANG>_LINK_MODE variable.

This variable define how the link step is done. Possible values are:
* DRIVER: the compiler is used as driver for the link step
* LINKER: the linker is used directly for the link step.
36 files changed