mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'codemodel-version-directory-target-objects'
4315076f2e fileapi: Add codemodelVersion fields to target and directory objects
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10928
This commit is contained in:
@@ -704,6 +704,19 @@ A codemodel "directory" object is referenced by a `"codemodel" version 2`_
|
||||
object's ``directories`` array. Each "directory" object is a JSON object
|
||||
with members:
|
||||
|
||||
``codemodelVersion``
|
||||
This specifies the codemodel version this file is part of. It will match
|
||||
the ``version`` field of the codemodel object kind that references this file.
|
||||
It is a JSON object with the following members:
|
||||
|
||||
``major``
|
||||
The codemodel major version.
|
||||
|
||||
``minor``
|
||||
The codemodel minor version.
|
||||
|
||||
This field was added in codemodel version 2.9.
|
||||
|
||||
``paths``
|
||||
A JSON object containing members:
|
||||
|
||||
@@ -980,6 +993,19 @@ A codemodel "target" object is referenced by a `"codemodel" version 2`_
|
||||
object's ``targets`` array. Each "target" object is a JSON object
|
||||
with members:
|
||||
|
||||
``codemodelVersion``
|
||||
This specifies the codemodel version this file is part of. It will match
|
||||
the ``version`` field of the codemodel object kind that references this file.
|
||||
It is a JSON object with the following members:
|
||||
|
||||
``major``
|
||||
The codemodel major version.
|
||||
|
||||
``minor``
|
||||
The codemodel minor version.
|
||||
|
||||
This field was added in codemodel version 2.9.
|
||||
|
||||
``name``
|
||||
A string specifying the logical name of the target.
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
codemodel-version-directory-target-objects
|
||||
------------------------------------------
|
||||
|
||||
* The :manual:`cmake-file-api(7)` "codemodel" version 2 ``version`` field has
|
||||
been updated to 2.9.
|
||||
|
||||
* The :manual:`cmake-file-api(7)` "codemodel" version 2 "target" and
|
||||
"directory" objects gained a new ``codemodelVersion`` field.
|
||||
Reference in New Issue
Block a user