summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorToolset/TestToolsetCudaBoth.cmake
Commit message (Collapse)AuthorAgeFilesLines
* VS: Provide an option to specify CUDA toolset versionBrad King2017-03-101-0/+2
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.