Commit Graph

5 Commits

Author SHA1 Message Date
dmex 0cf2cc08ca Refactor build scripts
Convert many build/*.cmd scripts to a consistent, modular style: enable delayed expansion, improve consistency and return proper exit codes. The CMake script (build_cmake.cmd) was significantly refactored to validate args, resolve toolchains, configure generator/build options, locate Visual Studio, and support generate/build/clean actions. build_compile_commands.cmd now publishes the logger and runs msbuild with a reusable RunMsBuild routine. Other scripts (build_clean, build_debug, build_devenv, build_dyndata, build_header, build_init, build_msix, build_release, build_sdk, etc.) were rewritten to use small functions, improved error handling, clearer comments, and CI-friendly behavior. Overall improvements: clearer flow control, better diagnostics, and safer interactive pauses.
2026-04-13 01:54:29 +10:00
dmex 5e848baa1a Pause only when stdin is interactive
Replace unconditional pause calls in build/build_cmake.cmd, build/build_devenv.cmd, and build/build_verbose.cmd with logic that detects whether STDIN is redirected using PowerShell ([Console]::IsInputRedirected). Scripts now set STDIN_REDIRECTED and only call pause when input is interactive, preventing hanging when output/input are redirected (e.g., in CI). Also made the TIB check case-insensitive in build_cmake.cmd.
2026-04-04 03:18:37 +11:00
Johnny Shaw 54d3699177 Revert "Visual Studio 2026"
This reverts commit 27efdef0a5.
2025-11-19 21:05:48 -07:00
dmex 27efdef0a5 Visual Studio 2026 2025-11-17 20:42:47 +11:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00