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

Method PopulateCustomInteger

Source/cmCTest.cxx:2831–2839  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2829}
2830
2831void cmCTest::PopulateCustomInteger(cmMakefile* mf, std::string const& def,
2832 int& val)
2833{
2834 cmValue dval = mf->GetDefinition(def);
2835 if (!dval) {
2836 return;
2837 }
2838 val = atoi(dval->c_str());
2839}
2840
2841std::string cmCTest::GetShortPathToFile(std::string const& cfname)
2842{

Callers 2

PopulateCustomVectorsMethod · 0.80
PopulateCustomVectorsMethod · 0.80

Calls 2

c_strMethod · 0.80
GetDefinitionMethod · 0.45

Tested by

no test coverage detected