CUDA_RUNTIME_LIBRARY.rst 681 B

123456789101112131415161718192021
  1. CUDA_RUNTIME_LIBRARY
  2. --------------------
  3. Select the CUDA runtime library for use by compilers targeting the CUDA language.
  4. The allowed case insensitive values are:
  5. .. include:: CUDA_RUNTIME_LIBRARY-VALUES.txt
  6. Contents of ``CUDA_RUNTIME_LIBRARY`` may use
  7. :manual:`generator expressions <cmake-generator-expressions(7)>`.
  8. If this property is not set then CMake uses the default value
  9. ``Static`` to select the CUDA runtime library.
  10. .. note::
  11. This property has effect only when the ``CUDA`` language is enabled. To
  12. control the CUDA runtime linking when only using the CUDA SDK with the
  13. ``C`` or ``C++`` language we recommend using the :module:`FindCUDAToolkit`
  14. module.