summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPI.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-18 13:39:25 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-12 11:40:10 (GMT)
commit3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1 (patch)
treee44164dc568a4798ecda54b0d82c115748e9d1a1 /Source/cmFileAPI.h
parent555fa77a35b15cf1ed5163bf9fa1782079534ef1 (diff)
downloadCMake-3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1.zip
CMake-3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1.tar.gz
CMake-3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1.tar.bz2
fileapi: add codemodel 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 8bfae31..5339ba7 100644
--- a/Source/cmFileAPI.h
+++ b/Source/cmFileAPI.h
@@ -51,6 +51,7 @@ private:
// Keep in sync with ObjectKindName.
enum class ObjectKind
{
+ CodeModel,
InternalTest
};
@@ -181,6 +182,10 @@ private:
static std::string NoSupportedVersion(
std::vector<RequestVersion> const& versions);
+ void BuildClientRequestCodeModel(
+ ClientRequest& r, std::vector<RequestVersion> const& versions);
+ Json::Value BuildCodeModel(Object const& object);
+
void BuildClientRequestInternalTest(
ClientRequest& r, std::vector<RequestVersion> const& versions);
Json::Value BuildInternalTest(Object const& object);