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

Method ReportVersionJson

Source/cmake.cxx:373–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371
372#if !defined(CMAKE_BOOTSTRAP)
373Json::Value cmake::ReportVersionJson() const
374{
375 Json::Value version = Json::objectValue;
376 version["string"] = CMake_VERSION;
377 version["major"] = CMake_VERSION_MAJOR;
378 version["minor"] = CMake_VERSION_MINOR;
379 version["suffix"] = CMake_VERSION_SUFFIX;
380 version["isDirty"] = (CMake_VERSION_IS_DIRTY == 1);
381 version["patch"] = CMake_VERSION_PATCH;
382 return version;
383}
384
385Json::Value cmake::ReportCapabilitiesJson() const
386{

Callers 2

BuildCMakeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected