Commit Graph

13 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 e6120caa36 Update CustomBuildTool 2026-05-31 14:13:33 +10:00
dmex a9e5fe6bcc Improve Enterprise WDK detection and enhance console output 2026-05-11 04:43:23 +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
Johnny Shaw 4c8000db03 fix cmake build 2025-09-07 08:39:52 -06:00
Johnny Shaw f0ac91e3a2 cmake build script specify toolchain 2025-08-06 16:51:21 -06:00
Johnny Shaw 0f4e244010 sanitize cmake build script parameters 2025-08-04 20:21:57 -06:00
Johnny Shaw a6ceaf72d1 fix cmake toolchains for Visual Studio 2025-08-04 20:03:15 -06:00
Johnny Shaw f0f9d537df cmake convert to toolchain driven 2025-08-04 18:14:12 -06:00
Johnny Shaw 8878c3e072 fix cmake CI 2025-08-03 12:52:49 -06:00
Johnny Shaw 2f75c66176 fix build_cmake.cmd for CI 2025-08-03 12:42:41 -06:00
Johnny Shaw 8143bcde87 cmake rewrite 2025-08-03 12:28:03 -06:00