summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/CUDA_RESOLVE_DEVICE_SYMBOLS.rst
blob: 127d79fb31009aea26b49e717a0bcb4bd18c2c21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CUDA_RESOLVE_DEVICE_SYMBOLS
---------------------------

CUDA only: Enables device linking for the specific static library target

If set this will enable device linking on this static library target. Normally
device linking is deferred until a shared library or executable is generated,
allowing for multiple static libraries to resolve device symbols at the same
time.

For instance:

.. code-block:: cmake

  set_property(TARGET mystaticlib PROPERTY CUDA_RESOLVE_DEVICE_SYMBOLS ON)