MCPcopy Create free account
hub / github.com/Kitware/CMake / ComputeCudaOptions

Method ComputeCudaOptions

Source/cmVisualStudio10TargetGenerator.cxx:3859–3870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3857}
3858
3859bool 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
3872bool cmVisualStudio10TargetGenerator::ComputeCudaOptions(
3873 std::string const& configName)

Callers 1

GenerateMethod · 0.95

Calls 15

ConvertPathMethod · 0.95
GetIncludesMethod · 0.95
VersionCompareFunction · 0.85
ConvertToWindowsSlashFunction · 0.85
moveFunction · 0.85
IsCudaEnabledMethod · 0.80
IsLanguageUsedMethod · 0.80
GetCudaFlagTableMethod · 0.80
AddLanguageFlagsMethod · 0.80
AddCompileOptionsMethod · 0.80
GetDefineFlagsMethod · 0.80
ParseFinishMethod · 0.80

Tested by

no test coverage detected