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

Method DumpToolchains

Source/cmFileAPIToolchains.cxx:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63Json::Value Toolchains::DumpToolchains()
64{
65 Json::Value toolchains = Json::arrayValue;
66
67 for (std::string const& lang :
68 this->FileAPI.GetCMakeInstance()->GetState()->GetEnabledLanguages()) {
69 toolchains.append(this->DumpToolchain(lang));
70 }
71
72 return toolchains;
73}
74
75Json::Value Toolchains::DumpToolchain(std::string const& lang)
76{

Callers 1

DumpMethod · 0.95

Calls 5

DumpToolchainMethod · 0.95
appendMethod · 0.80
GetEnabledLanguagesMethod · 0.45
GetStateMethod · 0.45
GetCMakeInstanceMethod · 0.45

Tested by

no test coverage detected