Commit Graph

25 Commits

Author SHA1 Message Date
dmex c107a17d0d Improve clang-lld and build tooling
Add clang-lld CMake toolchains for x86/x64/ARM64 and update the shared CMake/MSVC logic to handle lld-link limitations, optional clang speculative load hardening, host-architecture tool selection, and user-mode defines that match Common.User.props.

Refresh the Windows build scripts to use the newer MSBuild invocation flags, support CI/binlog/low-priority options, allow build target overrides, switch CustomBuildTool publishing to dotnet msbuild, reorder init so tools build before third-party deps, and let build_zsign sign a single file or an entire output tree.
2026-09-24 14:32:21 +10:00
dmex 4c32374a63 Add msbuild graph support and update build commands 2026-05-28 04:17:48 +10:00
dmex a9e5fe6bcc Improve Enterprise WDK detection and enhance console output 2026-05-11 04:43:23 +10:00
dmex 0c8e67508e Update verbose script and doxygen comments 2026-04-21 02:34:19 +10:00
dmex f7a4966476 Fix verbose build script not running verbose 2026-04-20 20:13:35 +10:00
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
dmex bae2ca3b41 Update comments and tidy up 2026-03-22 11:31:16 +11:00
Johnny Shaw 741b1a51e7 build fix scripts 2026-03-14 08:32:32 -06:00
dmex 99f5522b22 Visual Studio ARM64 toolchain support and conditional builds 2026-03-13 08:26:32 +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 ae69771e17 Update build_verbose.cmd 2025-04-10 21:54:56 +10:00
dmex c5c2e86f45 Update build scripts 2025-04-05 10:34:33 +11:00
dmex cc931ddaf7 BuildTools: Add terminal logger support 2025-03-21 16:19:46 +11:00
dmex aa068cf0d7 Update to latest SDK 2024-09-11 03:03:15 +10:00
dmex 3c668df407 Update build_verbose.cmd 2024-09-09 11:49:23 +10:00
Johnny Shaw d19be7dc32 build ARM64 in CI action (#1545) 2022-12-21 01:42:21 -07:00
Chen c4bb42b91d Add -prerelease flag to vswhere invocations (#1394) 2022-10-12 05:19:37 +11:00
dmex 375b838eab BuildTools: Update scripts, Add signature files for plugins 2022-08-02 23:40:23 +10:00
dmex fe201baef8 Update build scripts 2022-06-16 11:57:44 +10:00
dmex c27c98b688 Update build scripts to VS2022 2022-06-09 17:06:02 +10:00
dmex 1980bb9a39 Update build scripts to VS2022 2022-03-26 12:37:13 +11:00
dmex cb15cb7f7e Update build scripts to VS2022 2021-11-09 20:23:02 +11:00
dmex 7cf39d8266 Add build_verbose.cmd 2020-09-23 10:11:11 +10:00