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

Method PopulateCustomVector

Source/cmCTest.cxx:2815–2829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2813}
2814
2815void cmCTest::PopulateCustomVector(cmMakefile* mf, std::string const& def,
2816 std::vector<std::string>& vec)
2817{
2818 cmValue dval = mf->GetDefinition(def);
2819 if (!dval) {
2820 return;
2821 }
2822 cmCTestLog(this, DEBUG, "PopulateCustomVector: " << def << std::endl);
2823
2824 cmList::assign(vec, *dval);
2825
2826 for (std::string const& it : vec) {
2827 cmCTestLog(this, DEBUG, " -- " << it << std::endl);
2828 }
2829}
2830
2831void cmCTest::PopulateCustomInteger(cmMakefile* mf, std::string const& def,
2832 int& val)

Callers 4

PopulateCustomVectorsMethod · 0.80
PopulateCustomVectorsMethod · 0.80
PopulateCustomVectorsMethod · 0.80
PopulateCustomVectorsMethod · 0.80

Calls 1

GetDefinitionMethod · 0.45

Tested by

no test coverage detected