Commit Graph

23 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 a571c6bc19 Build and bug fixes 2026-06-15 05:33:51 +10:00
dmex 980dc701db Update commands.cmake 2026-05-24 09:08:01 +10:00
dmex 1a233c4ef0 Add language guard and fix CMake forwarding C/C++ build options to MASM 2026-05-24 08:41:55 +10:00
dmex 43186f04d8 Scope /Gz to C/C++ and add nativesession.c
Use a generator expression ($<$<COMPILE_LANGUAGE:C,CXX>:/Gz>) so the MSVC /Gz (stdcall) compiler flag is applied only for C and C++ compilations. This avoids injecting the option for other languages.
2026-05-18 15:11:04 +10:00
dmex cdbacaec93 Guard MSVC-specific target flags
Wrap MSVC-only compile/link options in MSVC() checks to avoid passing MSVC-specific flags to non-MSVC toolchains. Make /NATVIS conditional on MSVC, add -mwindows for non-MSVC builds of UM_LIB/UM_BIN, restrict SI_WITH_PREFAST to MSVC, and fix a comment spelling for __stdcall.
2026-04-04 03:19:26 +11:00
dmex fd1f6d9077 Update plugin build from using sdk copies of phnt headers to the actual phnt directory 2026-03-13 02:33:55 +11:00
dmex 2521ec49d6 CustomBuildTool: Add CMake SDK linking, vcvars fix, and -cmake flag
CMake: set ARCHIVE_OUTPUT_DIRECTORY for targets and add SDK/thirdparty linking for plugin targets; expose SI_PLATFORM_SDK_LIB for platform-specific SDK lib paths. Tools: pass a -cmake flag from si_sdkbuild and handle -cmake in CustomBuildTool. CustomBuildTool: only show build stats when verbose and improve ExecuteCMakeCommand vcvarsall detection by preferring VCINSTALLDIR, falling back to a VS instance, and returning an error if vcvarsall is not found. Zip: simplify compression column output and mark the file parameter as unused.
2026-02-23 16:59:44 +11:00
dmex 49f2cb125d Update commands.cmake 2026-02-01 11:54:55 +11:00
dmex 9ea3286a3f CustomBuildTool: Add -check_msvc, -install_msvc, -cmake-bin 2026-02-01 11:35:19 +11:00
dmex 951662d32d Update commands.cmake 2026-02-01 00:09:56 +11:00
dmex 169e52cacd Update commands.cmake 2026-01-31 17:52:22 +11:00
Johnny Shaw e924b53e16 cmake fix natvis 2025-10-11 09:24:21 -06:00
Johnny Shaw 4e5ca13aab cmake commands specify subsystem version 2025-08-13 21:48:02 -06:00
Johnny Shaw 6822005883 clang-msvc move pointer-sign to project-level 2025-08-10 13:00:14 -06:00
Johnny Shaw ec80146a36 clang-msvc move visibility to project-level 2025-08-10 12:48:21 -06:00
Johnny Shaw 42e87f6a62 clang-msvc fix unused-function 2025-08-10 12:38:31 -06:00
Johnny Shaw e6111cd648 clang-msvc move c23-extensions to project-level 2025-08-10 11:59:15 -06:00
Johnny Shaw d1a6b69ebc clang-msvc move project-level diagnostics 2025-08-10 00:03:39 -06:00
Johnny Shaw 20aeb04d41 cmake tracewpp 2025-08-08 00:13:06 -06:00
Johnny Shaw c2149e0d27 cmake commands cleanup 2025-08-04 20:10:24 -06:00
Johnny Shaw f0f9d537df cmake convert to toolchain driven 2025-08-04 18:14:12 -06:00
Johnny Shaw 8143bcde87 cmake rewrite 2025-08-03 12:28:03 -06:00