diff options
author | Brad King <brad.king@kitware.com> | 2018-10-18 13:39:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-12-12 11:40:10 (GMT) |
commit | 3e922ceb5e8cc4c4d72ddcbd8b485803c49d84f1 (patch) | |
tree | e44164dc568a4798ecda54b0d82c115748e9d1a1 /Source/cmFileAPI.h | |
parent | 555fa77a35b15cf1ed5163bf9fa1782079534ef1 (diff) | |
download | CMake-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.h | 5 |
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); |