summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2023-06-02 07:16:57 (GMT)
committerBrad King <brad.king@kitware.com>2023-06-05 10:20:50 (GMT)
commit99b2ccf80dc87ccf6832508cc3f8889a70c2785f (patch)
tree6ff990a8878c0e90ee9c5b88ce876f7893e5c882 /Help/manual
parent9a63aa8d57394fbddf913ce35c2d32bbf523f0e6 (diff)
downloadCMake-99b2ccf80dc87ccf6832508cc3f8889a70c2785f.zip
CMake-99b2ccf80dc87ccf6832508cc3f8889a70c2785f.tar.gz
CMake-99b2ccf80dc87ccf6832508cc3f8889a70c2785f.tar.bz2
cmake_file_api: New project command
Projects can use the new command to request file API replies for the current run. No query files are generated, the query is tracked internally. Replies are created in the file system at generation time in the usual way. Fixes: #24951
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake-commands.7.rst1
-rw-r--r--Help/manual/cmake-file-api.7.rst6
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/manual/cmake-commands.7.rst b/Help/manual/cmake-commands.7.rst
index 0f35632..bd678b7 100644
--- a/Help/manual/cmake-commands.7.rst
+++ b/Help/manual/cmake-commands.7.rst
@@ -87,6 +87,7 @@ These commands are available only in CMake projects.
/command/add_test
/command/aux_source_directory
/command/build_command
+ /command/cmake_file_api
/command/create_test_sourcelist
/command/define_property
/command/enable_language
diff --git a/Help/manual/cmake-file-api.7.rst b/Help/manual/cmake-file-api.7.rst
index 0bdb419..5f16a8b 100644
--- a/Help/manual/cmake-file-api.7.rst
+++ b/Help/manual/cmake-file-api.7.rst
@@ -23,6 +23,12 @@ of files within the API directory. API file layout versioning is
orthogonal to the versioning of `Object Kinds`_ used in replies.
This version of CMake supports only one API version, `API v1`_.
+.. versionadded:: 3.27
+ Projects may also submit queries for the current run using the
+ :command:`cmake_file_api` command.
+
+.. _`file-api v1`:
+
API v1
======