feat(config): import CMake configure presets
This commit is contained in:
1 parent
7772697a48
commit
083af6af79
10 files changed
+387
-1
No files matched your search
@@ -292,6 +292,8 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
||||
|
||||
- **Wave 99 (Windows Path & Case-Sensitivity Validation)**: graph lowering for Windows targets rejects case-insensitive output collisions (`Tool` vs `tool` → `Tool.exe`/`tool.exe`) and reserved device names (`CON`, `NUL`, `COM1`, …), with explicit diagnostics. The Wine regression test now also proves PE case-insensitive file semantics (`fopen("CASE_A.TXT")` finds `case_a.txt`) and asserts both validation errors.
|
||||
|
||||
- **Wave 100 (CMakePresets Import)**: `Config::load_cmake_presets` parses `CMakePresets.json`-style configure presets (resolving `inherits` as a string or array with cycle detection), expands `${sourceDir}`, merges `cacheVariables`, and maps `CMAKE_BUILD_TYPE`/`CMAKE_CXX_COMPILER` onto VBS profile/compiler. The `vbs presets` CLI lists the mapping or prints the equivalent `vbs build` command for one preset; covered by `FullV1Tests.cmake_presets_import_maps_inherits_and_cache` and a CLI contract.
|
||||
|
||||
## Remaining future scope
|
||||
|
||||
- **Superiority plan ([22-superiority-and-gaps.md](../roadmap/22-superiority-and-gaps.md), 2026-12-05)**: revised platform strategy - **macOS deferred**, **Windows via MinGW-w64 cross-compilation + Wine execution** (`dev cpp-gcc -p pkgsCross.mingwW64.stdenv.cc`, `dev cpp-gcc -p wine64`), native MSVC deferred; plus packaging parity (ZIP/DEB/RPM), IDE ecosystem, migration tooling, test-runner parity, benchmarks, CI runners, and remote execution in prioritized order.
|
||||
|
||||
Reference in new issue
Block a user