diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-06-18 16:07:26 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2020-06-18 16:07:26 (GMT) |
commit | e5279c2c8ff5432ab6cc05956bb504bebecab101 (patch) | |
tree | 51d66e71fb01a29b355db3f0c0554c0aeefe1a81 /Help/command | |
parent | e66fe75792a2fbe9f3ffe237c748008906ae7116 (diff) | |
download | CMake-e5279c2c8ff5432ab6cc05956bb504bebecab101.zip CMake-e5279c2c8ff5432ab6cc05956bb504bebecab101.tar.gz CMake-e5279c2c8ff5432ab6cc05956bb504bebecab101.tar.bz2 |
Help: Better document that CMP0105 controls DEVICE_LINK parsing
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/DEVICE_LINK_OPTIONS.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Help/command/DEVICE_LINK_OPTIONS.txt b/Help/command/DEVICE_LINK_OPTIONS.txt index 012e9b1..3f0226f 100644 --- a/Help/command/DEVICE_LINK_OPTIONS.txt +++ b/Help/command/DEVICE_LINK_OPTIONS.txt @@ -1,9 +1,10 @@ When a device link step is involved, which is controlled by :prop_tgt:`CUDA_SEPARABLE_COMPILATION` and -:prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` properties, the raw options will be -delivered to the host and device link steps (wrapped in ``-Xcompiler`` or -equivalent for device link). Options wrapped with ``$<DEVICE_LINK:...>`` +:prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` properties and policy :policy:`CMP0105`, +the raw options will be delivered to the host and device link steps (wrapped in +``-Xcompiler`` or equivalent for device link). Options wrapped with +``$<DEVICE_LINK:...>`` :manual:`generator expression <cmake-generator-expressions(7)>` will be used only for the device link step. Options wrapped with ``$<HOST_LINK:...>`` :manual:`generator expression <cmake-generator-expressions(7)>` will be used |