Commit Graph

31 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
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 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 34a936c19f Add EWDK support to build scripts 2026-02-15 16:09:45 +11:00
dmex b714bb133d Add prerelease support 2026-01-13 16:48:12 +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
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
dmex 56c41c3f65 Update build_zdriver.cmd 2025-05-15 13:41:52 +10:00
Johnny Shaw 68524b6888 kph build enable terminal logging 2025-03-28 17:05:36 -06:00
Johnny Shaw 78836e7e90 add tools nag to driver build script 2025-02-04 17:43:33 -07:00
Johnny Shaw e2c99f5397 whitespace cleanup 2025-02-04 17:40:32 -07:00
dmex c3a75dc353 Update build_zdriver.cmd 2024-03-22 10:02:00 +11:00
ge0rdi 163d8add0c SourceLink support (#1877)
* Add SourceLink support

Fixes #1871

* Store repo relative source paths in PDBs

---------

Co-authored-by: Johnny Shaw <johnny.shaw@live.com>
2023-10-16 18:50:40 -06:00
Johnny Shaw fe3c775a28 kph ensure prefast warn as err 2023-06-18 12:39:45 -06:00
Johnny Shaw 254266a580 kph remove legacy os support 2023-05-04 23:32:15 -06:00
Johnny Shaw ff863a37ab fix driver targets and build scripts (#1399) 2022-10-03 02:51:04 -06:00
Johnny Shaw da70f0b6f1 retarget driver (#1398) 2022-10-02 13:06:49 -06:00
Johnny Shaw f7a04113d4 driver work (#1320) 2022-08-06 21:49:05 -06:00
dmex 375b838eab BuildTools: Update scripts, Add signature files for plugins 2022-08-02 23:40:23 +10:00
dmex 9bae93558f BuildTools: Move ARM64 scripts to build_arm64.cmd 2022-08-02 22:24:53 +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 9243966346 Update build_zdriver.cmd 2022-03-26 12:19:51 +11:00
dmex 6c1c295427 Add build script for KPH 2022-03-25 19:38:39 +11:00