Files
CMake/Tests/RunCMake/FileAPI/codemodel-v2-data/targets/cxx_exe_precompileheader.json
Ben Boeckel b3e9fb67bb file-api: support exporting file set information
This includes listing the filesets themselves as well as which file set
(if any) each source file is associated with.

Fixes: #24128
2022-11-08 10:07:10 -05:00

165 lines
3.8 KiB
JSON

{
"compileGroups": [
{
"language": "CXX",
"sourcePaths": [
".*cmake_pch(_[^.]+)?(\\.hxx)?\\.cxx$"
],
"includes": null,
"defines": null,
"precompileHeaders": [
{
"header": ".*empty\\.h$",
"backtrace": [
{
"file": "^cxx/CMakeLists\\.txt$",
"line": 21,
"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": 17,
"command": "target_compile_options",
"hasParent": true
},
{
"file": "^cxx/CMakeLists\\.txt$",
"line": null,
"command": null,
"hasParent": false
}
]
}
]
},
{
"language": "CXX",
"sourcePaths": [
"^empty\\.cxx$"
],
"includes": null,
"defines": null,
"precompileHeaders": [
{
"header": ".*empty\\.h$",
"backtrace": [
{
"file": "^cxx/CMakeLists\\.txt$",
"line": 21,
"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": 17,
"command": "target_compile_options",
"hasParent": true
},
{
"file": "^cxx/CMakeLists\\.txt$",
"line": null,
"command": null,
"hasParent": false
}
]
}
]
}
],
"sources": [
{
"path": ".*cmake_pch(_[^.]+)?(\\.hxx)?\\.cxx$",
"isGenerated": null,
"fileSetName": null,
"sourceGroupName": "Source Files",
"compileGroupLanguage": "CXX",
"backtrace": [
{
"file": "^cxx/CMakeLists\\.txt$",
"line": null,
"command": null,
"hasParent": false
}
]
},
{
"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
}
]
},
{
"path": ".*/cmake_pch(_[^.]+)?\\.hxx$",
"isGenerated": null,
"fileSetName": null,
"sourceGroupName": "Precompile Header File",
"compileGroupLanguage": null,
"backtrace": [
{
"file": "^cxx/CMakeLists\\.txt$",
"line": null,
"command": null,
"hasParent": false
}
]
}
],
"sourceGroups": [
{
"name": "Source Files",
"sourcePaths": [
".*cmake_pch(_[^.]+)?(\\.hxx)?\\.cxx$",
"^empty\\.cxx$"
]
},
{
"name": "Precompile Header File",
"sourcePaths": [
".*/cmake_pch(_[^.]+)?\\.hxx$"
]
}
]
}