fix(tools): configure the build tree in build.bat when it is missing #6
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/jadeowaowa--scarlett-layer!6
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@marquezinii on GitHub · 2026-11-23 12:19 UTC · original
marquezinii:fix/build-bat-configure→main· +6 −0 · 1 files · 1 commits · opentools\verify.batis the build/test command given in README.md, CONTRIBUTING.md and AGENTS.md, but on a fresh clone it fails before compiling anything:build.batonly runscmake --build build. The configure step (cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug) exists only in.github/workflows/ci.yml, so the documented command works only on machines that already have a configuredbuild\directory.This change makes
build.batrun that same configure step whenbuild\CMakeCache.txtdoes not exist, then build as before. Existing build trees are not reconfigured, and the arguments passed tocmake --buildare unchanged. CI does its own configure step and is not affected.Verification
Windows 11, VS Build Tools 18 (MSVC), RTX 5070. Each run used a fresh
git clonewith nobuild\directory, from a plain shell (no developer prompt, sobuild.battakes the vswhere/vcvars path):main@7a7a092):.\tools\verify.bat --verboseexits 1 withbuild is not a directory..\tools\verify.bat --output-on-failureconfiguresbuild\with Ninja/Debug, builds, and ctest reports100% tests passed, 0 tests failed out of 78..\tools\build.batagain on the now-configured tree skips the configure step (ninja: no work to do.).py tools\generate_status.py --checkpasses (nothing it tracks changed).View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.