feat: migration breadth, project templates, preset export, IDE/registry polish
VoidBuildSystem CI / 1 · Requirements (push) Successful in 3s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 2m11s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m33s
VoidBuildSystem CI / 2A · Linux build (coverage) (push) Successful in 2m44s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 4m16s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m37s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m29s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 24s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m52s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 20s
VoidBuildSystem CI / 3A · Linux test (coverage) (push) Failing after 1m57s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 6m47s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 7m4s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Skipped
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped

- vbs migrate --from meson: bounded meson.build importer (project, variable
  assignments, files()/include_directories(), executable/static_library/
  shared_library/library with link_with, include_directories, dependencies,
  install/install_dir) rendering the same build.cpp scaffold; everything
  untranslated is reported as a note.
- vbs init --template app|library|header-only|shared; every template
  scaffolds a project whose own test passes.
- vbs presets --export FILE: writes VBS profiles as CMake configure presets
  (round-trips through the CMakePresets importer).
- vbs ide generate also writes JetBrains run configurations per target.
- VBS_HOST_CXX_FLAGS/VBS_HOST_LDFLAGS instrument the compiled build
  descriptor (the CI sanitizer lane sets them).
- The registry queue counts lease attempts and abandons an action after 5
  attempts into a dead-letter list instead of leasing it forever.
- CI: coverage lane (lcov report), sanitizer descriptor flags; docs ledger
  brought up to date (STATE/TASKS/superiority roadmap).

Verified: the new FullV1Tests and RegistryTests cases pass and the full
CTest suite passes 8/8.
This commit is contained in:
faumaray committed 2026-12-06 17:23:59 +03:00
1 parent 9da1387031
commit fe453bd601
17 files changed
+898 -54

No files matched your search

@@ -39,6 +39,13 @@ struct MigrationResult {
import_cmake_lists(const std::filesystem::path &cmake_file,
const std::filesystem::path &project_root);
// Bounded meson.build reader: understands `project`, variable assignments (`files(...)`,
// `include_directories(...)`), `executable`/`static_library`/`shared_library`/`library` with
// `link_with`, `include_directories`, `install` and `install_dir`. Everything else is a note.
[[nodiscard]] Void::Result::Result<MigrationResult, Void::Result::Error>
import_meson_build(const std::filesystem::path &meson_file,
const std::filesystem::path &project_root);
// Renders the imported targets as a `build.cpp` scaffold.
[[nodiscard]] std::string render_build_cpp(const MigrationResult &result);
+4
View File
@@ -26,6 +26,10 @@ struct FrontendOptions {
std::optional<std::filesystem::path> host_compiler;
// Extra environment for the descriptor process (e.g. dependency options for a native dep).
std::map<std::string, std::string, std::less<>> extra_environment;
// Extra flags for compiling/linking the descriptor itself (e.g. sanitizer instrumentation
// so a sanitizer build covers the build description as well as the project).
std::vector<std::string> host_compile_flags;
std::vector<std::string> host_link_flags;
std::chrono::milliseconds eval_timeout{std::chrono::seconds{30}};
};
+2
View File
@@ -16,6 +16,8 @@ struct ScaffoldOptions {
bool library{false};
bool with_toml{false};
bool force{false}; // Overwrite an existing build.cpp
// Template shape: "app" (default), "library", "header-only", "shared" or "gui".
std::string template_name{"app"};
};
struct ScaffoldReport {