diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-05-18 09:44:11 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-05-19 10:10:20 (GMT) |
commit | b3a6a11e95f805ab7411d395bd426561cfb4d4d0 (patch) | |
tree | 32efd0b0e8178c10af7bef4a54ea1d684e149ea3 /Help | |
parent | 5591f8dbec2102fdb15a8e9c9e022b612519baa6 (diff) | |
download | CMake-b3a6a11e95f805ab7411d395bd426561cfb4d4d0.zip CMake-b3a6a11e95f805ab7411d395bd426561cfb4d4d0.tar.gz CMake-b3a6a11e95f805ab7411d395bd426561cfb4d4d0.tar.bz2 |
fileapi: Extend codemodel targets/compileGroups with Apple frameworks
Fixes: #19897
Diffstat (limited to 'Help')
-rw-r--r-- | Help/manual/cmake-file-api.7.rst | 24 | ||||
-rw-r--r-- | Help/release/dev/FileAPI-Frameworks.rst | 7 |
2 files changed, 30 insertions, 1 deletions
diff --git a/Help/manual/cmake-file-api.7.rst b/Help/manual/cmake-file-api.7.rst index 7ff9728..0bdb419 100644 --- a/Help/manual/cmake-file-api.7.rst +++ b/Help/manual/cmake-file-api.7.rst @@ -425,7 +425,7 @@ Version 1 does not exist to avoid confusion with that from { "kind": "codemodel", - "version": { "major": 2, "minor": 5 }, + "version": { "major": 2, "minor": 6 }, "paths": { "source": "/path/to/top-level-source-dir", "build": "/path/to/top-level-build-dir" @@ -1211,6 +1211,28 @@ with members: an unsigned integer 0-based index into the ``backtraceGraph`` member's ``nodes`` array. + ``frameworks`` + Optional member that is present when, on Apple platforms, there are + frameworks. The value is a JSON array with an entry for each directory. + Each entry is a JSON object with members: + + ``path`` + A string specifying the path to the framework directory, + represented with forward slashes. + + ``isSystem`` + Optional member that is present with boolean value ``true`` if + the framework is marked as a system one. + + ``backtrace`` + Optional member that is present when a CMake language backtrace to + the :command:`target_link_libraries` or other command invocation + that added this framework is available. The value is + an unsigned integer 0-based index into the ``backtraceGraph`` + member's ``nodes`` array. + + This field was added in codemodel version 2.6. + ``precompileHeaders`` Optional member that is present when :command:`target_precompile_headers` or other command invocations set :prop_tgt:`PRECOMPILE_HEADERS` on the diff --git a/Help/release/dev/FileAPI-Frameworks.rst b/Help/release/dev/FileAPI-Frameworks.rst new file mode 100644 index 0000000..65cf043 --- /dev/null +++ b/Help/release/dev/FileAPI-Frameworks.rst @@ -0,0 +1,7 @@ +FileAPI-Frameworks +------------------ + +* The :manual:`cmake-file-api(7)` "codemodel" version 2 ``version`` field has + been updated to 2.6. +* The :manual:`cmake-file-api(7)` "codemodel" version 2 "target" object gained + a new "frameworks" field in the "compileGroups" objects. |