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

Method ComputeCudaLinkOptions

Source/cmVisualStudio10TargetGenerator.cxx:4065–4073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4063}
4064
4065bool cmVisualStudio10TargetGenerator::ComputeCudaLinkOptions()
4066{
4067 if (!this->GlobalGenerator->IsCudaEnabled()) {
4068 return true;
4069 }
4070 return std::all_of(
4071 this->Configurations.begin(), this->Configurations.end(),
4072 [this](std::string const& c) { return this->ComputeCudaLinkOptions(c); });
4073}
4074
4075bool cmVisualStudio10TargetGenerator::ComputeCudaLinkOptions(
4076 std::string const& configName)

Callers 1

GenerateMethod · 0.95

Calls 15

ConvertPathMethod · 0.95
requireDeviceLinkingFunction · 0.85
ConvertToWindowsSlashFunction · 0.85
moveFunction · 0.85
IsCudaEnabledMethod · 0.80
GetCudaFlagTableMethod · 0.80
AddFlagMethod · 0.80
AppendFlagStringMethod · 0.80
GetLinkOptionsMethod · 0.80
AppendCompileOptionsMethod · 0.80
GetLinkInformationMethod · 0.80

Tested by

no test coverage detected