| 4047 | } |
| 4048 | |
| 4049 | void cmVisualStudio10TargetGenerator::WriteCudaOptions( |
| 4050 | Elem& e1, std::string const& configName) |
| 4051 | { |
| 4052 | if (!this->MSTools || !this->GlobalGenerator->IsCudaEnabled() || |
| 4053 | !this->GeneratorTarget->IsLanguageUsed("CUDA", configName)) { |
| 4054 | return; |
| 4055 | } |
| 4056 | Elem e2(e1, "CudaCompile"); |
| 4057 | |
| 4058 | OptionsHelper cudaOptions(*(this->CudaOptions[configName]), e2); |
| 4059 | cudaOptions.OutputAdditionalIncludeDirectories("CUDA"); |
| 4060 | cudaOptions.OutputPreprocessorDefinitions("CUDA"); |
| 4061 | cudaOptions.PrependInheritedString("AdditionalOptions"); |
| 4062 | cudaOptions.OutputFlagMap(); |
| 4063 | } |
| 4064 | |
| 4065 | bool cmVisualStudio10TargetGenerator::ComputeCudaLinkOptions() |
| 4066 | { |
no test coverage detected