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

Method SetArgcArgv

Source/cmMakefile.cxx:3052–3059  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3050}
3051
3052void cmMakefile::SetArgcArgv(std::vector<std::string> const& args)
3053{
3054 this->AddDefinition("CMAKE_ARGC", std::to_string(args.size()));
3055
3056 for (auto i = 0u; i < args.size(); ++i) {
3057 this->AddDefinition(cmStrCat("CMAKE_ARGV", i), args[i]);
3058 }
3059}
3060
3061cmSourceFile* cmMakefile::GetSource(std::string const& sourceName,
3062 cmSourceFileLocationKind kind) const

Callers 2

ReadListFileMethod · 0.80
FindPackageMethod · 0.80

Calls 4

AddDefinitionMethod · 0.95
to_stringFunction · 0.85
cmStrCatFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected