diff options
author | Brad King <brad.king@kitware.com> | 2017-03-13 12:57:55 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-03-13 12:57:57 (GMT) |
commit | b46fa35824f2e8716032b3ec3201d0a0ee445f86 (patch) | |
tree | a0e4c215bde6903a94610651b404f5d612a7a169 /Help/variable | |
parent | abfc55a362bd2ad5ea45f7f8f228adf516f389ad (diff) | |
parent | 65481a60a06b4238d342f64b5fed52e252ee191b (diff) | |
download | CMake-b46fa35824f2e8716032b3ec3201d0a0ee445f86.zip CMake-b46fa35824f2e8716032b3ec3201d0a0ee445f86.tar.gz CMake-b46fa35824f2e8716032b3ec3201d0a0ee445f86.tar.bz2 |
Merge topic 'cuda-vs'
65481a60 CUDA: Work around VS limitation in CudaOnly.WithDefs test
8cae24a1 VS: Add more CUDA flag table entries
6ca4f222 VS: Add support for the CUDA_SEPARABLE_COMPILATION property
94255511 VS: Select CUDA code generation architectures
253594d0 VS: Select the CUDA runtime library
4def02a3 VS: Place CUDA host compiler options in proper project file fields
29f07b08 VS: Do not pass CUDA compile options to C compiler
b966f489 VS: Do not use absolute paths to CUDA sources
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !566
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst b/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst new file mode 100644 index 0000000..1604a76 --- /dev/null +++ b/Help/variable/CMAKE_VS_PLATFORM_TOOLSET_CUDA.rst @@ -0,0 +1,12 @@ +CMAKE_VS_PLATFORM_TOOLSET_CUDA +------------------------------ + +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``. 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. |