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

Method BuildCMake

Source/cmFileAPI.cxx:456–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

454}
455
456Json::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
469Json::Value cmFileAPI::BuildReply(Query const& q)
470{

Callers 1

BuildReplyIndexMethod · 0.95

Calls 3

ReportVersionJsonMethod · 0.80
GetJsonMethod · 0.45
GetGlobalGeneratorMethod · 0.45

Tested by

no test coverage detected