summaryrefslogtreecommitdiff
path: root/Source/cmFileAPICache.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-11-01 09:37:17 -0400
committerBrad King <brad.king@kitware.com>2018-12-12 09:46:13 -0500
commit7489e95b8ec35c7faa1f9dcfc3a6962a56969531 (patch)
tree6c14a990c888995e4e696cc8d63780ca89ca80ca /Source/cmFileAPICache.h
parentea0a0601682af00706cf57f6d3e27d4f0895ecbb (diff)
downloadcmake-7489e95b8ec35c7faa1f9dcfc3a6962a56969531.tar.gz
fileapi: add cache v2
Start with v2 to distinguish it from server-mode v1. Issue: #18398
Diffstat (limited to 'Source/cmFileAPICache.h')
-rw-r--r--Source/cmFileAPICache.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/cmFileAPICache.h b/Source/cmFileAPICache.h
new file mode 100644
index 0000000000..09d9e1ce98
--- /dev/null
+++ b/Source/cmFileAPICache.h
@@ -0,0 +1,15 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+#ifndef cmFileAPICache_h
+#define cmFileAPICache_h
+
+#include "cmConfigure.h" // IWYU pragma: keep
+
+#include "cm_jsoncpp_value.h"
+
+class cmFileAPI;
+
+extern Json::Value cmFileAPICacheDump(cmFileAPI& fileAPI,
+ unsigned long version);
+
+#endif