| 488 | } |
| 489 | |
| 490 | Json::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 | |
| 507 | Json::Value cmFileAPI::BuildReplyError(std::string const& error) |
| 508 | { |
no test coverage detected