| 454 | } |
| 455 | |
| 456 | Json::Value cmFileAPI::BuildCMake() |
| 457 | { |
| 458 | Json::Value cmake = Json::objectValue; |
| 459 | cmake["version"] = this->CMakeInstance->ReportVersionJson(); |
| 460 | Json::Value& cmake_paths = cmake["paths"] = Json::objectValue; |
| 461 | cmake_paths["cmake"] = cmSystemTools::GetCMakeCommand(); |
| 462 | cmake_paths["ctest"] = cmSystemTools::GetCTestCommand(); |
| 463 | cmake_paths["cpack"] = cmSystemTools::GetCPackCommand(); |
| 464 | cmake_paths["root"] = cmSystemTools::GetCMakeRoot(); |
| 465 | cmake["generator"] = this->CMakeInstance->GetGlobalGenerator()->GetJson(); |
| 466 | return cmake; |
| 467 | } |
| 468 | |
| 469 | Json::Value cmFileAPI::BuildReply(Query const& q) |
| 470 | { |
no test coverage detected