MCPcopy Index your code
hub / github.com/Kitware/CMake / EvaluateCommandLineArguments

Method EvaluateCommandLineArguments

Source/cmTestGenerator.cxx:360–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360std::vector<std::string> cmTestGenerator::EvaluateCommandLineArguments(
361 std::vector<std::string> const& argv, cmGeneratorExpression& ge,
362 std::string const& config) const
363{
364 // Evaluate executable name and arguments
365 auto evaluatedRange =
366 cmMakeRange(argv).transform([&](std::string const& arg) {
367 return ge.Parse(arg)->Evaluate(this->LG, config);
368 });
369
370 return { evaluatedRange.begin(), evaluatedRange.end() };
371}

Callers 1

Calls 6

cmMakeRangeFunction · 0.85
transformMethod · 0.80
EvaluateMethod · 0.45
ParseMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected