summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-02-08 21:05:08 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-10 15:19:53 (GMT)
commit5164e9a6510137eaac1c7b736a6b24fe02ce17a9 (patch)
treeef9e7554cb68377b3aebe09ae4e1265646f5f42c /Help/manual
parent83bf980c9601c2e5d6a6247867606539d8a14528 (diff)
downloadCMake-5164e9a6510137eaac1c7b736a6b24fe02ce17a9.zip
CMake-5164e9a6510137eaac1c7b736a6b24fe02ce17a9.tar.gz
CMake-5164e9a6510137eaac1c7b736a6b24fe02ce17a9.tar.bz2
VS: Provide an option to specify CUDA toolset version
The NVIDIA CUDA Toolkit provides MSBuild toolset files for integration with Visual Studio. Multiple versions may be installed so we need a way to tell our VS generators which CUDA toolset to use. Extend the `CMAKE_GENERATOR_TOOLSET` specification to provide a `cuda=...` field specifying the version number.
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-variables.7.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst
index 3ec0c19..45829bc 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -82,6 +82,7 @@ Variables that Provide Information
/variable/CMAKE_VS_NsightTegra_VERSION
/variable/CMAKE_VS_PLATFORM_NAME
/variable/CMAKE_VS_PLATFORM_TOOLSET
+ /variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA
/variable/CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE
/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION
/variable/CMAKE_XCODE_PLATFORM_TOOLSET