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

Function MakeVC

Source/CTest/cmCTestUpdateCommand.cxx:124–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124std::unique_ptr<cmCTestVC> MakeVC(int type, cmCTest* ctest, cmMakefile* mf,
125 std::ostream& os)
126{
127 // clang-format off
128 switch (type) {
129 case e_CVS: return cm::make_unique<cmCTestCVS>(ctest, mf, os);
130 case e_SVN: return cm::make_unique<cmCTestSVN>(ctest, mf, os);
131 case e_BZR: return cm::make_unique<cmCTestBZR>(ctest, mf, os);
132 case e_GIT: return cm::make_unique<cmCTestGIT>(ctest, mf, os);
133 case e_HG: return cm::make_unique<cmCTestHG> (ctest, mf, os);
134 case e_P4: return cm::make_unique<cmCTestP4> (ctest, mf, os);
135 default: return cm::make_unique<cmCTestVC> (ctest, mf, os);
136 }
137 // clang-format on
138}
139
140} // namespace
141

Callers 1

ExecuteUpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…