mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-05 22:00:10 -05:00
Merge topic 'fileApiAddLanguageStandardBacktrace'
7d6861f367fileapi: Extend codemodel targets with language standardba835874a4Add backtrace support for language standarde43486a639cmGeneratorTarget: Clarify name of language property lookup helper Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4798
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user