| 3857 | } |
| 3858 | |
| 3859 | bool cmVisualStudio10TargetGenerator::ComputeCudaOptions() |
| 3860 | { |
| 3861 | if (!this->GlobalGenerator->IsCudaEnabled()) { |
| 3862 | return true; |
| 3863 | } |
| 3864 | return std::all_of(this->Configurations.begin(), this->Configurations.end(), |
| 3865 | [this](std::string const& c) { |
| 3866 | return !this->GeneratorTarget->IsLanguageUsed("CUDA", |
| 3867 | c) || |
| 3868 | this->ComputeCudaOptions(c); |
| 3869 | }); |
| 3870 | } |
| 3871 | |
| 3872 | bool cmVisualStudio10TargetGenerator::ComputeCudaOptions( |
| 3873 | std::string const& configName) |
no test coverage detected