diff options
author | Brad King <brad.king@kitware.com> | 2018-09-13 12:18:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-12-12 11:39:30 (GMT) |
commit | eb2ec41a0422e9acd4961e32f6f28c20846a292a (patch) | |
tree | 48257a71b127bb947f9bdaabaa1d2d1e605ec6fd /Tests/RunCMake/FileAPI/Empty-prep.cmake | |
parent | c3635e502c9804fc0ab781b9f20e07449d4e6c23 (diff) | |
download | CMake-eb2ec41a0422e9acd4961e32f6f28c20846a292a.zip CMake-eb2ec41a0422e9acd4961e32f6f28c20846a292a.tar.gz CMake-eb2ec41a0422e9acd4961e32f6f28c20846a292a.tar.bz2 |
fileapi: Add protocol v1 infrastructure with support for shared query files
Add a file-based API that clients may use to get semantic information
about the buildsystem that CMake generates. Clients will write query
files under a designated location in the build tree, and CMake will
write reply files for clients to read.
Start with support for shared stateless query files. These allow
clients to share requests for major object versions and get all those
recognized by CMake. Once any client has written a shared request to a
build tree it will persist. Other clients will not need to overwrite
the request (since it is stateless) and should not remove it either.
For now we add only an undocumented object kind to use for testing the
query and reply infrastructure. Object kinds providing real semantic
information will be added later.
Issue: #18398
Diffstat (limited to 'Tests/RunCMake/FileAPI/Empty-prep.cmake')
-rw-r--r-- | Tests/RunCMake/FileAPI/Empty-prep.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/FileAPI/Empty-prep.cmake b/Tests/RunCMake/FileAPI/Empty-prep.cmake new file mode 100644 index 0000000..1d1f69e --- /dev/null +++ b/Tests/RunCMake/FileAPI/Empty-prep.cmake @@ -0,0 +1 @@ +file(MAKE_DIRECTORY "${RunCMake_TEST_BINARY_DIR}/.cmake/api/v1/query") |