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

Method BuildReplyEntry

Source/cmFileAPI.cxx:490–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490Json::Value cmFileAPI::BuildReplyEntry(Object object)
491{
492 if (this->ReplyIndexFor != IndexFor::Success) {
493 switch (object.Kind) {
494 case ObjectKind::ConfigureLog:
495 break;
496 case ObjectKind::CodeModel:
497 case ObjectKind::Cache:
498 case ObjectKind::CMakeFiles:
499 case ObjectKind::Toolchains:
500 case ObjectKind::InternalTest:
501 return this->BuildReplyError("no buildsystem generated");
502 }
503 }
504 return this->AddReplyIndexObject(object);
505}
506
507Json::Value cmFileAPI::BuildReplyError(std::string const& error)
508{

Callers 2

BuildReplyMethod · 0.95

Calls 1

BuildReplyErrorMethod · 0.95

Tested by

no test coverage detected