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

Method GetArches

Source/cmFastbuildNormalTargetGenerator.cxx:1271–1280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1269}
1270
1271std::vector<std::string> cmFastbuildNormalTargetGenerator::GetArches() const
1272{
1273 auto arches = this->GetGeneratorTarget()->GetAppleArchs(Config, {});
1274 // Don't add any arch-specific logic if arch is only one.
1275 if (arches.empty() || arches.size() == 1) {
1276 arches.clear();
1277 arches.emplace_back();
1278 }
1279 return arches;
1280}
1281
1282void cmFastbuildNormalTargetGenerator::GetCudaDeviceLinkLinkerAndArgs(
1283 std::string& linker, std::string& args) const

Callers 4

GenerateObjectsMethod · 0.95
GenerateLinkMethod · 0.95

Calls 6

GetAppleArchsMethod · 0.80
emplace_backMethod · 0.80
GetGeneratorTargetMethod · 0.45
emptyMethod · 0.45
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected