1CMAKE_VS_PLATFORM_TOOLSET_CUDA 2------------------------------ 3 4.. versionadded:: 3.9 5 6NVIDIA CUDA Toolkit version whose Visual Studio toolset to use. 7 8The :ref:`Visual Studio Generators` for VS 2010 and above support using 9a CUDA toolset provided by a CUDA Toolkit. The toolset version number 10may be specified by a field in :variable:`CMAKE_GENERATOR_TOOLSET` of 11the form ``cuda=8.0``. Or it is automatically detected if a path to 12a standalone CUDA directory is specified in the form ``cuda=C:\path\to\cuda``. 13If none is specified CMake will choose a default version. 14CMake provides the selected CUDA toolset version in this variable. 15The value may be empty if no CUDA Toolkit with Visual Studio integration 16is installed. 17