diff options
| author | William R. Dieter <william.r.dieter@intel.com> | 2021-10-19 22:30:00 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2022-01-14 13:57:03 (GMT) |
| commit | 79921fb00c9ae584adf6c2163b4b3e34dadff17c (patch) | |
| tree | 13caf8823df3a604d2275a2d6a20101f2b26ea90 /Help/guide/tutorial/Step5 | |
| parent | 50cfe54402ef30ff308b545c0e277ee8636124f9 (diff) | |
| download | CMake-79921fb00c9ae584adf6c2163b4b3e34dadff17c.zip CMake-79921fb00c9ae584adf6c2163b4b3e34dadff17c.tar.gz CMake-79921fb00c9ae584adf6c2163b4b3e34dadff17c.tar.bz2 | |
IntelLLVM: Set linker to compiler driver for Windows
For IntelLLVM, linking with the compiler driver is preferred over using
the linker directly. This is especially true when doing offload to a
target accelerator, which can produce object files that the regular
linker will not handle properly.
Windows-IntelLLVM relies on Windows-MSVC.cmake for many definitions.
This commit does not change that, but does override the MSVC defaults
for linking executables, shared libraries, and static libraries so that
CMake will use the compiler driver instead of the linker.
Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
Diffstat (limited to 'Help/guide/tutorial/Step5')
0 files changed, 0 insertions, 0 deletions
