cmake: Teach -E capabilities to report supported fileapi requests

Fixes: #19339
This commit is contained in:
Brad King
2019-06-07 11:08:38 -04:00
parent 6696855f72
commit c932f49842
6 changed files with 55 additions and 1 deletions
+3
View File
@@ -36,6 +36,9 @@ public:
and holding the original object. Other JSON types are unchanged. */
Json::Value MaybeJsonFile(Json::Value in, std::string const& prefix);
/** Report file-api capabilities for cmake -E capabilities. */
static Json::Value ReportCapabilities();
private:
cmake* CMakeInstance;