feat(ide): emit a CMake File API codemodel reply
This commit is contained in:
1 parent
083af6af79
commit
6cf8c53a02
6 files changed
+334
-19
No files matched your search
@@ -1418,6 +1418,16 @@ dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc -p wine64 -c build/pinned/bin/vbs_v1
|
||||
- CLI contract: `vbs presets --help` passes.
|
||||
- Full CTest: **8 / 8 passed** in 276.96 s.
|
||||
|
||||
## CMake File API Shim (GCC 16.2, pin `0002e74`)
|
||||
|
||||
- `vbs ide generate` writes `build/.cmake/api/v1/reply/` with an `index-*.json` listing
|
||||
`codemodel-v2`, a `codemodel-v2-*.json` referencing a directory file and all target files, and
|
||||
`target-*.json` per target (kind/type/artifacts/`nameOnDisk`/sources/compileGroups).
|
||||
- All emitted JSON files validate as strict JSON (checked with a JSON parser during development).
|
||||
- `ide_integration_compdb_build_cpp_and_editor_configs_end_to_end` walks index → codemodel →
|
||||
target and asserts the executable target has artifacts and compile groups: **passed** (3.14 s).
|
||||
- Full CTest: **8 / 8 passed** in 276.69 s.
|
||||
|
||||
## Limits and Unrun Checks
|
||||
|
||||
1. **HTTPS git fetch**: the host shell is proxy-restricted, but the Docker container could clone `https://git.faumaray.com/Void/VoidLibrary.git`; the pinned commit `3e254055e081a104f08df68dde39711bc7813518` was fetched directly for the verification above. A separate configure against the local `/home/faumaray/Projects/Library` checkout via `VBS_VOID_SOURCE_DIR` also succeeded (development-only override, checkout unmodified).
|
||||
|
||||
Reference in new issue
Block a user