Commit Graph

373 Commits

Author SHA1 Message Date
dmex 66f0dda526 Refresh project files and build config 2026-10-02 12:20:22 +10:00
Johnny Shaw d3a4b1b663 kph restore symbol cab archiving 2026-09-30 18:35:24 -06:00
dmex 9fcc24e52d Add SBOM, VEX, and build tooling updates 2026-09-29 21:02:02 +10:00
dmex c622a18432 Exclude PDBs from HLK 2026 packaging
The refreshed Windows Hardware Lab Kit (HLK) available starting February 2026 for Windows 11, version 25H2, Windows Server 2025, and Windows 11, version 24H2 will introduce a new check during HLK packaging.
2026-09-26 05:04:01 +10:00
dmex 8239781797 Fix WPP TMH_FILE and zsign dir detection
Move the WPP `TMH_FILE` define out of `ItemDefinitionGroup` into a target so per-file metadata expands correctly during kernel builds. Also fix `build_zsign.cmd` to detect directories via file attributes instead of `if exist path\.` so signing no longer misclassifies files whose paths normalize that check.
2026-09-25 02:35:54 +10:00
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
Johnny Shaw bcc7cf5b33 build fix kph prefast option 2026-06-15 17:02:15 -06:00
dmex a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
Johnny Shaw ed6086d3df update ms sdk and wdk 2026-06-12 01:09:12 -06:00
Johnny Shaw f8a1556d02 driver build script compat 2026-06-02 21:04:32 -06:00
dmex e6120caa36 Update CustomBuildTool 2026-05-31 14:13:33 +10:00
dmex 4c32374a63 Add msbuild graph support and update build commands 2026-05-28 04:17:48 +10:00
dmex 1eb82c5569 Update build_thirdparty.cmd 2026-05-21 04:43:31 +10:00
dmex 66e44ca6d3 Make MSBuild verbosity configurable 2026-05-17 03:44:56 +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 05b46cfb6a Opt out dotnet telemetry; Add CLI aliases 2026-04-17 11:31:55 +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
dmex 34a936c19f Add EWDK support to build scripts 2026-02-15 16:09:45 +11:00
dmex 9520a14a6f Add ESDK 2026-02-01 06:40:14 +11:00
dmex b714bb133d Add prerelease support 2026-01-13 16:48:12 +11:00
dmex b71f4b37f7 Update build_tools.cmd 2026-01-13 15:27:52 +11:00
Johnny Shaw 894eb4d5df Revert "Add check for .NET 10 SDK"
This reverts commit cb9dccbe29.
2025-11-19 21:10:15 -07:00
Johnny Shaw 54d3699177 Revert "Visual Studio 2026"
This reverts commit 27efdef0a5.
2025-11-19 21:05:48 -07:00
dmex cb9dccbe29 Add check for .NET 10 SDK 2025-11-18 09:29:21 +11:00
dmex 27efdef0a5 Visual Studio 2026 2025-11-17 20:42:47 +11:00
dmex 499aec0e79 Add build_header.cmd script for building PHNT single header 2025-09-22 20:33:10 +10:00
Johnny Shaw 4c8000db03 fix cmake build 2025-09-07 08:39:52 -06:00
dmex 5423ff7cfb Merge dev branch fixes (#2680) 2025-09-07 05:06:34 +10:00
Johnny Shaw c8f10f55bd revert build_zdriver.cmd change 2025-08-08 10:28:32 -06:00
Johnny Shaw d063ef7d08 cmake list reorder for clarity 2025-08-08 10:02:12 -06:00
Johnny Shaw f0ac91e3a2 cmake build script specify toolchain 2025-08-06 16:51:21 -06:00
Johnny Shaw 2f640faa04 tools build minor cleanup 2025-08-06 16:44:07 -06:00
Johnny Shaw 79b31db4cc only build tools for relevant arch 2025-08-06 16:25:50 -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 70f5556065 minor compile commands cleanup 2025-08-04 20:02:53 -06:00
Johnny Shaw f0f9d537df cmake convert to toolchain driven 2025-08-04 18:14:12 -06:00
dmex 4deacd8bd2 Add extra error message build_tools.cmd 2025-08-04 15:55:38 +10: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
Johnny Shaw cd7217bcc0 fail compile commands on build error 2025-07-29 17:20:44 -06:00
Johnny Shaw e4ec75fe83 add compile_commands.json tooling 2025-07-29 17:19:16 -06:00
dmex 2869bf9bf3 BuildTools: Add build_msix.cmd and update scripts to latest MSIX format 2025-05-21 23:09:58 +10:00