mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +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
297 lines
8.9 KiB
JSON
297 lines
8.9 KiB
JSON
{
|
|
"name": "exe_framework",
|
|
"id": "^exe_framework::@217a96c3a62328a73ef4$",
|
|
"directorySource": "^framework$",
|
|
"projectName": "Framework",
|
|
"type": "EXECUTABLE",
|
|
"imported": null,
|
|
"local": null,
|
|
"abstract": null,
|
|
"symbolic": null,
|
|
"isGeneratorProvided": null,
|
|
"fileSets": null,
|
|
"sources": [
|
|
{
|
|
"path": "^empty\\.cxx$",
|
|
"isGenerated": null,
|
|
"fileSetNames": null,
|
|
"sourceGroupName": "Source Files",
|
|
"compileGroupLanguage": "CXX",
|
|
"backtraces": [
|
|
[
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 16,
|
|
"command": "add_executable",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"interfaceSources": null,
|
|
"sourceGroups": [
|
|
{
|
|
"name": "Source Files",
|
|
"sourcePaths": [
|
|
"^empty\\.cxx$"
|
|
],
|
|
"interfaceSourcePaths": null
|
|
}
|
|
],
|
|
"compileGroups": [
|
|
{
|
|
"language": "CXX",
|
|
"sourcePaths": [
|
|
"^empty\\.cxx$"
|
|
],
|
|
"includes": null,
|
|
"frameworks": null,
|
|
"defines": [
|
|
{
|
|
"define": "_MBCS",
|
|
"backtrace": null
|
|
}
|
|
],
|
|
"compileCommandFragments": null
|
|
}
|
|
],
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 16,
|
|
"command": "add_executable",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"folder": null,
|
|
"nameOnDisk": "^exe_framework(\\.exe)?$",
|
|
"artifacts": [
|
|
{
|
|
"path": "^framework/((Debug|Release|RelWithDebInfo|MinSizeRel)/)?exe_framework(\\.exe)?$",
|
|
"_dllExtra": false
|
|
},
|
|
{
|
|
"path": "^framework/((Debug|Release|RelWithDebInfo|MinSizeRel)/)?exe_framework\\.pdb$",
|
|
"_dllExtra": true
|
|
}
|
|
],
|
|
"build": "^framework$",
|
|
"source": "^framework$",
|
|
"install": null,
|
|
"link": {
|
|
"language": "CXX",
|
|
"lto": null,
|
|
"commandFragments": [
|
|
{
|
|
"fragment": ".*static_framework.*",
|
|
"role": "libraries",
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"fragment": ".*shared_framework.*",
|
|
"role": "libraries",
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"archive": null,
|
|
"dependencies": [
|
|
{
|
|
"id": "^static_framework::@217a96c3a62328a73ef4$",
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "^shared_framework::@217a96c3a62328a73ef4$",
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "^ZERO_CHECK::@217a96c3a62328a73ef4$",
|
|
"backtrace": null
|
|
}
|
|
],
|
|
"linkLibraries": [
|
|
{
|
|
"id": "^import_framework::@217a96c3a62328a73ef4$",
|
|
"fragment": null,
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"fromDependency": null
|
|
},
|
|
{
|
|
"id": "^shared_framework::@217a96c3a62328a73ef4$",
|
|
"fragment": null,
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"fromDependency": null
|
|
},
|
|
{
|
|
"id": "^static_framework::@217a96c3a62328a73ef4$",
|
|
"fragment": null,
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"fromDependency": null
|
|
}
|
|
],
|
|
"interfaceLinkLibraries": null,
|
|
"compileDependencies": [
|
|
{
|
|
"id": "^import_framework::@217a96c3a62328a73ef4$",
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"fromDependency": null
|
|
},
|
|
{
|
|
"id": "^shared_framework::@217a96c3a62328a73ef4$",
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"fromDependency": null
|
|
},
|
|
{
|
|
"id": "^static_framework::@217a96c3a62328a73ef4$",
|
|
"backtrace": [
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": 17,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^framework/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"fromDependency": null
|
|
}
|
|
],
|
|
"interfaceCompileDependencies": null,
|
|
"objectDependencies": null,
|
|
"orderDependencies": null
|
|
}
|