mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-25 15:49:08 -05:00
fileapi: Add protocol v1 support for client-specific query files
Add support for client-owned stateless query files. These allow clients to *own* requests for major object versions and get all those recognized by CMake. Issue: #18398
This commit is contained in:
@@ -77,6 +77,9 @@ private:
|
||||
/** The content of the top-level query directory. */
|
||||
Query TopQuery;
|
||||
|
||||
/** The content of each "client-$client" query directory. */
|
||||
std::map<std::string, Query> ClientQueries;
|
||||
|
||||
/** Reply index object generated for object kind/version.
|
||||
This populates the "objects" field of the reply index. */
|
||||
std::map<Object, Json::Value> ReplyIndexObjects;
|
||||
@@ -91,6 +94,7 @@ private:
|
||||
|
||||
static bool ReadQuery(std::string const& query,
|
||||
std::vector<Object>& objects);
|
||||
void ReadClient(std::string const& client);
|
||||
|
||||
Json::Value BuildReplyIndex();
|
||||
Json::Value BuildCMake();
|
||||
|
||||
Reference in New Issue
Block a user