1CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR 2----------------------------------------- 3 4.. versionadded:: 3.16 5 6Path to standalone NVIDIA CUDA Toolkit (eg. extracted from installer). 7 8The :ref:`Visual Studio Generators` for VS 2010 and above support using 9a standalone (non-installed) NVIDIA CUDA toolkit. The path 10may be specified by a field in :variable:`CMAKE_GENERATOR_TOOLSET` of 11the form ``cuda=C:\path\to\cuda``. The given directory must at least 12contain the nvcc compiler in path ``.\bin`` and must provide Visual Studio 13integration files in path ``.\extras\visual_studio_integration\ 14MSBuildExtensions\``. One can create a standalone CUDA toolkit directory by 15either opening a installer with 7zip or copying the files that are extracted 16by the running installer. The value may be empty if no path to a standalone 17CUDA Toolkit was specified. 18