Get CMake input files
get_cmake_inputsLists files CMake read during configuration, including CMakeLists.txt, included modules, configure_file inputs, and glob-dependent lists. Use it to trace build inputs without running CMake.
Instructions
Lists the files CMake read during configuration (CMakeLists.txt, included .cmake modules, configure_file inputs, etc.) and glob-dependent file lists.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_cmake_inputs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buildDir | No | Build directory (absolute, or relative to a workspace root). A source directory with a single build directory is also accepted. May be omitted when the workspace has exactly one build directory. | |
| includeExternal | No | Include files outside the source and build trees. | |
| includeCMakeModules | No | Include modules shipped with CMake itself. |