summaryrefslogtreecommitdiffstats
path: root/Source/cmVS10CudaFlagTable.h
Commit message (Collapse)AuthorAgeFilesLines
* VS: Add more CUDA flag table entriesBrad King2017-03-101-0/+11
|
* VS: Select CUDA code generation architecturesBrad King2017-03-101-0/+22
| | | | | Parse the `-gencode=`, `-arch`, and `-code` flags and generate a `CodeGeneration` field in the project file.
* VS: Select the CUDA runtime libraryBrad King2017-03-101-0/+9
| | | | | | Parse the `-cudart=` option and add a corresponding `CudaRuntime` field to the generated project file. Also add a matching `.lib` to the list of libraries linked.
* VS: Place CUDA host compiler options in proper project file fieldsBrad King2017-03-101-1/+9
| | | | | | | | | | | The CUDA Toolkit's VS integration provides abstractions for host compiler options for `nvcc` to pass through `-Xcompiler` to the host MSVC. Populate our secondary flag table and use it to remove flags from the `AdditionalCompilerOptions` in favor of their abstractions. Unfortunately a bug in the CUDA 8.0 VS integration prevents us from passing anything in `AdditionalCompilerOptions` reliably. After taking out the flags that have dedicated abstractions, drop the rest.
* VS: Add placeholder CUDA flag tablesBrad King2017-03-101-0/+1
The CUDA Toolkit's VS integration defines abstractions for both options to `nvcc` and options to pass through `-Xcompiler` to the host MSVC. We need a separate flag table to parse each set of flags into the corresponding abstractions. Add empty placeholders for these tables.