From b67eb656882c4e9e45878bfbac3bab2086fff8b8 Mon Sep 17 00:00:00 2001 From: Kyle Edwards Date: Tue, 30 Jun 2020 13:19:45 -0400 Subject: Help: Update FileAPI codemodel version to 2.2, add release notes This fixes the documentation which should have been fixed in 7d6861f3. --- Help/manual/cmake-file-api.7.rst | 4 +++- Help/release/dev/fileapi-codemodel-2.2.rst | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Help/release/dev/fileapi-codemodel-2.2.rst diff --git a/Help/manual/cmake-file-api.7.rst b/Help/manual/cmake-file-api.7.rst index a66c098..34edc56 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": 1 }, + "version": { "major": 2, "minor": 2 }, "paths": { "source": "/path/to/top-level-source-dir", "build": "/path/to/top-level-build-dir" @@ -887,6 +887,8 @@ with members: ``standard`` String representing the language standard. + This field was added in codemodel version 2.2. + ``compileCommandFragments`` Optional member that is present when fragments of the compiler command line invocation are available. The value is a JSON array of entries diff --git a/Help/release/dev/fileapi-codemodel-2.2.rst b/Help/release/dev/fileapi-codemodel-2.2.rst new file mode 100644 index 0000000..5954df6 --- /dev/null +++ b/Help/release/dev/fileapi-codemodel-2.2.rst @@ -0,0 +1,7 @@ +fileapi-codemodel-2.2 +--------------------- + +* The :manual:`cmake-file-api(7)` "codemodel" version 2 ``version`` field has + been updated to 2.2. +* The :manual:`cmake-file-api(7)` "codemodel" version 2 "target" object gained + a new ``languageStandard`` field in the ``compileGroups`` objects. -- cgit v0.12