summaryrefslogtreecommitdiffstats
path: root/Help/manual/cmake-file-api.7.rst
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-06-30 18:04:25 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-06-30 18:04:25 (GMT)
commit849178c9d09246b74dc3fe60f3882c7f1082c9af (patch)
treed7bfdc4e889f116d5c27bd80e084168b858f15e7 /Help/manual/cmake-file-api.7.rst
parente9be17ab42a9e9999f1897e7f0da8604b605ed70 (diff)
parent77ba7539adb805b154b778046eda491b40acf09e (diff)
downloadCMake-849178c9d09246b74dc3fe60f3882c7f1082c9af.zip
CMake-849178c9d09246b74dc3fe60f3882c7f1082c9af.tar.gz
CMake-849178c9d09246b74dc3fe60f3882c7f1082c9af.tar.bz2
Merge branch 'master' into fileapi-version-doc
Diffstat (limited to 'Help/manual/cmake-file-api.7.rst')
-rw-r--r--Help/manual/cmake-file-api.7.rst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Help/manual/cmake-file-api.7.rst b/Help/manual/cmake-file-api.7.rst
index cc50952..a66c098 100644
--- a/Help/manual/cmake-file-api.7.rst
+++ b/Help/manual/cmake-file-api.7.rst
@@ -869,6 +869,24 @@ with members:
A string specifying the language (e.g. ``C``, ``CXX``, ``Fortran``)
of the toolchain is used to compile the source file.
+ ``languageStandard``
+ Optional member that is present when the language standard is set
+ explicitly (e.g. via :prop_tgt:`CXX_STANDARD`) or implicitly by
+ compile features. Each entry is a JSON object with two members:
+
+ ``backtraces``
+ Optional member that is present when a CMake language backtrace to
+ the ``<LANG>_STANDARD`` setting is available. If the language
+ standard was set implicitly by compile features those are used as
+ the backtrace(s). It's possible for multiple compile features to
+ require the same language standard so there could be multiple
+ backtraces. The value is a JSON array with each entry being an
+ unsigned integer 0-based index into the ``backtraceGraph``
+ member's ``nodes`` array.
+
+ ``standard``
+ String representing the language standard.
+
``compileCommandFragments``
Optional member that is present when fragments of the compiler command
line invocation are available. The value is a JSON array of entries