summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/EmptyClient-prep.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-13 12:48:29 (GMT)
committerBrad King <brad.king@kitware.com>2018-12-12 11:40:10 (GMT)
commit8fce59848b52f71ae310fcd64fcf943fb2c42bf6 (patch)
tree7e686c97356b70e6b26225b0db2e3528ee62c11e /Tests/RunCMake/FileAPI/EmptyClient-prep.cmake
parenteb2ec41a0422e9acd4961e32f6f28c20846a292a (diff)
downloadCMake-8fce59848b52f71ae310fcd64fcf943fb2c42bf6.zip
CMake-8fce59848b52f71ae310fcd64fcf943fb2c42bf6.tar.gz
CMake-8fce59848b52f71ae310fcd64fcf943fb2c42bf6.tar.bz2
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
Diffstat (limited to 'Tests/RunCMake/FileAPI/EmptyClient-prep.cmake')
-rw-r--r--Tests/RunCMake/FileAPI/EmptyClient-prep.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPI/EmptyClient-prep.cmake b/Tests/RunCMake/FileAPI/EmptyClient-prep.cmake
new file mode 100644
index 0000000..31512fd
--- /dev/null
+++ b/Tests/RunCMake/FileAPI/EmptyClient-prep.cmake
@@ -0,0 +1,2 @@
+file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query/client-foo" "")
+file(WRITE "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/reply/object-to-be-deleted.json" "")