mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-07 04:02:23 +03:00
Previously, if a single source file was added to multiple file sets via multiple `target_sources` calls, only the first call originally adding it to the target was stored in the backtrace graph and referenced by index in the singular "backtrace" field. Add a "backtraces" field expanding this to cover all command invocations which associate the given source file with that target. Preserve the original "backtrace" field for compatibility. Update spellings in the test suite to check against both fields. Issue: #27035
14 lines
740 B
ReStructuredText
14 lines
740 B
ReStructuredText
file-api-fileSetIndexes
|
|
-----------------------
|
|
|
|
* The :manual:`cmake-file-api(7)` "codemodel" version 2 "target" "sources" and
|
|
"interfaceSources" objects gained new ``fileSetIndexes`` fields to support
|
|
sources belonging to multiple file sets. The ``fileSetIndex`` fields are
|
|
maintained for backwards compatibility only, and users are advised to port
|
|
to the new fields.
|
|
* The :manual:`cmake-file-api(7)` "codemodel" version 2 "target" "sources"
|
|
object gained a new ``backtraces`` field to represent multiple command
|
|
invocations which associate a single source for a given target with multiple
|
|
file sets. The ``backtrace`` field is maintained for backwards compatibility
|
|
only, and users are advised to port to the new field.
|