summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPI.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-01 13:37:17 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-12 14:46:13 (GMT)
commit7489e95b8ec35c7faa1f9dcfc3a6962a56969531 (patch)
tree6c14a990c888995e4e696cc8d63780ca89ca80ca /Source/cmFileAPI.h
parentea0a0601682af00706cf57f6d3e27d4f0895ecbb (diff)
downloadCMake-7489e95b8ec35c7faa1f9dcfc3a6962a56969531.zip
CMake-7489e95b8ec35c7faa1f9dcfc3a6962a56969531.tar.gz
CMake-7489e95b8ec35c7faa1f9dcfc3a6962a56969531.tar.bz2
fileapi: add cache v2
Start with v2 to distinguish it from server-mode v1. Issue: #18398
Diffstat (limited to 'Source/cmFileAPI.h')
-rw-r--r--Source/cmFileAPI.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmFileAPI.h b/Source/cmFileAPI.h
index 5339ba7..20aa011 100644
--- a/Source/cmFileAPI.h
+++ b/Source/cmFileAPI.h
@@ -52,6 +52,7 @@ private:
enum class ObjectKind
{
CodeModel,
+ Cache,
InternalTest
};
@@ -186,6 +187,10 @@ private:
ClientRequest& r, std::vector<RequestVersion> const& versions);
Json::Value BuildCodeModel(Object const& object);
+ void BuildClientRequestCache(ClientRequest& r,
+ std::vector<RequestVersion> const& versions);
+ Json::Value BuildCache(Object const& object);
+
void BuildClientRequestInternalTest(
ClientRequest& r, std::vector<RequestVersion> const& versions);
Json::Value BuildInternalTest(Object const& object);