mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-06 15:19:56 -06:00
This adds the following new arrays, which together capture all direct dependencies and interface dependencies of a target: - linkLibraries - interfaceLinkLibraries - compileDependencies - interfaceCompileDependencies - objectDependencies - orderDependencies Fixes: #21995, #25213
310 lines
9.3 KiB
JSON
310 lines
9.3 KiB
JSON
{
|
|
"name": "cxx_exe",
|
|
"id": "^cxx_exe::@a56b12a3f5c0529fb296$",
|
|
"directorySource": "^cxx$",
|
|
"projectName": "Cxx",
|
|
"type": "EXECUTABLE",
|
|
"imported": null,
|
|
"local": null,
|
|
"abstract": null,
|
|
"symbolic": null,
|
|
"isGeneratorProvided": null,
|
|
"fileSets": null,
|
|
"sources": [
|
|
{
|
|
"path": "^empty\\.cxx$",
|
|
"isGenerated": null,
|
|
"fileSetName": null,
|
|
"sourceGroupName": "Source Files",
|
|
"compileGroupLanguage": "CXX",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 5,
|
|
"command": "add_executable",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"sourceGroups": [
|
|
{
|
|
"name": "Source Files",
|
|
"sourcePaths": [
|
|
"^empty\\.cxx$"
|
|
]
|
|
}
|
|
],
|
|
"compileGroups": [
|
|
{
|
|
"language": "CXX",
|
|
"sourcePaths": [
|
|
"^empty\\.cxx$"
|
|
],
|
|
"includes": null,
|
|
"frameworks": null,
|
|
"defines": [
|
|
{
|
|
"define": "_MBCS",
|
|
"backtrace": null
|
|
}
|
|
],
|
|
"precompileHeaders": [
|
|
{
|
|
"header": ".*empty\\.h$",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 23,
|
|
"command": "target_precompile_headers",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"compileCommandFragments": [
|
|
{
|
|
"fragment": "TargetCompileOptions",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 19,
|
|
"command": "target_compile_options",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 5,
|
|
"command": "add_executable",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"folder": "bin",
|
|
"nameOnDisk": "^cxx_exe(\\.exe)?$",
|
|
"artifacts": [
|
|
{
|
|
"path": "^cxx/((Debug|Release|RelWithDebInfo|MinSizeRel)/)?cxx_exe(\\.exe)?$",
|
|
"_dllExtra": false
|
|
},
|
|
{
|
|
"path": "^cxx/((Debug|Release|RelWithDebInfo|MinSizeRel)/)?cxx_exe\\.pdb$",
|
|
"_dllExtra": true
|
|
}
|
|
],
|
|
"build": "^cxx$",
|
|
"source": "^cxx$",
|
|
"install": {
|
|
"prefix": "^(/usr/local|[A-Za-z]:.*/codemodel-v2)$",
|
|
"destinations": [
|
|
{
|
|
"path": "lib",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 40,
|
|
"command": "install",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"path": "bin",
|
|
"backtrace": [
|
|
{
|
|
"file": "^codemodel-v2\\.cmake$",
|
|
"line": 52,
|
|
"command": "install",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^codemodel-v2\\.cmake$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^CMakeLists\\.txt$",
|
|
"line": 3,
|
|
"command": "include",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"link": {
|
|
"language": "CXX",
|
|
"lto": null,
|
|
"commandFragments": [
|
|
{
|
|
"fragment": "TargetLinkOptions",
|
|
"role": "flags",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 20,
|
|
"command": "target_link_options",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"fragment": ".*TargetLinkDir\\\"?$",
|
|
"role": "libraryPath",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 21,
|
|
"command": "target_link_directories",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"fragment": ".*cxx_lib.*",
|
|
"role": "libraries",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 6,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"archive": null,
|
|
"dependencies": [
|
|
{
|
|
"id": "^cxx_lib::@a56b12a3f5c0529fb296$",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 6,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "^ZERO_CHECK::@a56b12a3f5c0529fb296$",
|
|
"backtrace": null
|
|
}
|
|
],
|
|
"linkLibraries": [
|
|
{
|
|
"id": "^cxx_lib::@a56b12a3f5c0529fb296$",
|
|
"fragment": null,
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 6,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"fromDependency": null
|
|
}
|
|
],
|
|
"interfaceLinkLibraries": null,
|
|
"compileDependencies": [
|
|
{
|
|
"id": "^cxx_lib::@a56b12a3f5c0529fb296$",
|
|
"backtrace": [
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": 6,
|
|
"command": "target_link_libraries",
|
|
"hasParent": true
|
|
},
|
|
{
|
|
"file": "^cxx/CMakeLists\\.txt$",
|
|
"line": null,
|
|
"command": null,
|
|
"hasParent": false
|
|
}
|
|
],
|
|
"fromDependency": null
|
|
}
|
|
],
|
|
"interfaceCompileDependencies": null,
|
|
"objectDependencies": null,
|
|
"orderDependencies": null,
|
|
"debugger": {
|
|
"workingDirectory": "^/test/debugger/workingDirectory$"
|
|
}
|
|
}
|