mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 08:51:52 +08:00
VS: Add basic infrastructure for CUDA generation
Generate the `CudaCompile` elements in `.vcxproj` files.
This commit is contained in:
@@ -299,6 +299,9 @@ void cmVisualStudioGeneratorOptions::OutputPreprocessorDefinitions(
|
||||
return;
|
||||
}
|
||||
const char* tag = "PreprocessorDefinitions";
|
||||
if (lang == "CUDA") {
|
||||
tag = "Defines";
|
||||
}
|
||||
if (this->Version >= cmGlobalVisualStudioGenerator::VS10) {
|
||||
// if there are configuration specific flags, then
|
||||
// use the configuration specific tag for PreprocessorDefinitions
|
||||
|
Reference in New Issue
Block a user