DEVICE_LINK_OPTIONS.txt 731 B

1234567891011121314
  1. Host And Device Specific Link Options
  2. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3. .. versionadded:: 3.18
  4. When a device link step is involved, which is controlled by
  5. :prop_tgt:`CUDA_SEPARABLE_COMPILATION` and
  6. :prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` properties and policy :policy:`CMP0105`,
  7. the raw options will be delivered to the host and device link steps (wrapped in
  8. ``-Xcompiler`` or equivalent for device link). Options wrapped with
  9. ``$<DEVICE_LINK:...>``
  10. :manual:`generator expression <cmake-generator-expressions(7)>` will be used
  11. only for the device link step. Options wrapped with ``$<HOST_LINK:...>``
  12. :manual:`generator expression <cmake-generator-expressions(7)>` will be used
  13. only for the host link step.