summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2023-11-11 14:35:21 (GMT)
committerBrad King <brad.king@kitware.com>2023-12-01 15:57:15 (GMT)
commit80a64c9ce5ecb00a62a97d86c88fd8db33e73a08 (patch)
tree8a0552f0c506de998fb654401a13153980eefd54 /Help
parent2d0b7798dbaa5625496907a97973087be8db5f53 (diff)
downloadCMake-80a64c9ce5ecb00a62a97d86c88fd8db33e73a08.zip
CMake-80a64c9ce5ecb00a62a97d86c88fd8db33e73a08.tar.gz
CMake-80a64c9ce5ecb00a62a97d86c88fd8db33e73a08.tar.bz2
fileapi: Add cross-compiling emulator to codemodel-v2
Fixes: #25408
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake-file-api.7.rst28
-rw-r--r--Help/release/dev/fileapi-exe-launcher.rst7
2 files changed, 34 insertions, 1 deletions
diff --git a/Help/manual/cmake-file-api.7.rst b/Help/manual/cmake-file-api.7.rst
index 88a7bab..0d60311 100644
--- a/Help/manual/cmake-file-api.7.rst
+++ b/Help/manual/cmake-file-api.7.rst
@@ -431,7 +431,7 @@ Version 1 does not exist to avoid confusion with that from
{
"kind": "codemodel",
- "version": { "major": 2, "minor": 6 },
+ "version": { "major": 2, "minor": 7 },
"paths": {
"source": "/path/to/top-level-source-dir",
"build": "/path/to/top-level-build-dir"
@@ -998,6 +998,32 @@ with members:
destination is available. The value is an unsigned integer 0-based
index into the ``backtraceGraph`` member's ``nodes`` array.
+ ``launchers``
+ Optional member that is present on executable targets that have
+ at least one launcher specified by the project. The value is a
+ JSON array of entries corresponding to the specified launchers.
+ Each entry is a JSON object with members:
+
+ ``command``
+ A string specifying the path to the launcher on disk, represented
+ with forward slashes. If the file is inside the top-level source
+ directory then the path is specified relative to that directory.
+
+ ``arguments``
+ Optional member that is present when the launcher command has
+ arguments preceding the executable to be launched. The value
+ is a JSON array of strings representing the arguments.
+
+ ``type``
+ A string specifying the type of launcher. The value is one of
+ the following:
+
+ ``emulator``
+ An emulator for the target platform when cross-compiling.
+ See the :prop_tgt:`CROSSCOMPILING_EMULATOR` target property.
+
+ This field was added in codemodel version 2.7.
+
``link``
Optional member that is present for executables and shared library
targets that link into a runtime binary. The value is a JSON object
diff --git a/Help/release/dev/fileapi-exe-launcher.rst b/Help/release/dev/fileapi-exe-launcher.rst
new file mode 100644
index 0000000..09fc2ae
--- /dev/null
+++ b/Help/release/dev/fileapi-exe-launcher.rst
@@ -0,0 +1,7 @@
+fileapi-exe-launcher
+--------------------
+
+* The :manual:`cmake-file-api(7)` "codemodel" version 2 ``version`` field has
+ been updated to 2.7.
+* The :manual:`cmake-file-api(7)` "codemodel" version 2 "target" object gained
+ a new "launchers" field.