diff options
author | Brad King <brad.king@kitware.com> | 2017-02-08 21:25:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-10 15:19:53 (GMT) |
commit | 62b308515abe01fbe03ce0e1c7fee4879ca665b1 (patch) | |
tree | cc4315cc6d8a00a06c8520095defa59c22cb1ca1 /Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst | |
parent | 5164e9a6510137eaac1c7b736a6b24fe02ce17a9 (diff) | |
download | CMake-62b308515abe01fbe03ce0e1c7fee4879ca665b1.zip CMake-62b308515abe01fbe03ce0e1c7fee4879ca665b1.tar.gz CMake-62b308515abe01fbe03ce0e1c7fee4879ca665b1.tar.bz2 |
VS: Select highest available CUDA toolset by default
If `CMAKE_GENERATOR_TOOLSET` does not have a `cuda=...` field then
find available CUDA toolsets and choose the highest version.
Diffstat (limited to 'Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst')
-rw-r--r-- | Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst b/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst index cc18a20..1604a76 100644 --- a/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst +++ b/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst @@ -6,5 +6,7 @@ NVIDIA CUDA Toolkit version whose Visual Studio toolset to use. The :ref:`Visual Studio Generators` for VS 2010 and above support using a CUDA toolset provided by a CUDA Toolkit. The toolset version number may be specified by a field in :variable:`CMAKE_GENERATOR_TOOLSET` of -the form ``cuda=8.0``. CMake provides the selected CUDA toolset version -in this variable. The value may be empty if no version was specified. +the form ``cuda=8.0``. If none is specified CMake will choose a default +version. CMake provides the selected CUDA toolset version in this variable. +The value may be empty if no CUDA Toolkit with Visual Studio integration +is installed. |