@windows_support//windows:extensions.bzl
Extensions for bzlmod.
Exposes in repositories a Microsoft Windows SDK or a MSVC runtime headers and libraries.
Module Extensions
msvc_runtimeMSVC runtime extension.
Tag Classes
configure| Attribute | Type | Description |
|---|---|---|
architectures | list of strings | Architectures to extract from the resolved MSVC runtime components Default: ["x64", "arm64"] |
msvc_version | string | Required expected MSVC tools version. Only files under Contents/VC/Tools/MSVC/<msvc_version> are extracted. Default: "" |
installer_manifest_url | string | URL of the resolved/specified Visual Studio installer manifest Default: "" |
installer_manifest_integrity | string | Optional integrity of the resolved/specified Visual Studio installer manifest Default: "" |
installer_manifest_sha256 | string | Optional integrity (as sha256 hash) of the resolved/specified Visual Studio installer manifest Default: "" |
visual_studio_channel_url | string | Visual Studio release channel URL used to resolve the installer manifest, use Default: "https://aka.ms/vs/stable/channel" |
visual_studio_installer_manifest_url | string | Override URL for the Visual Studio installer manifest, if set the installer manifest will not be resolved from a query to Default: "" |
visual_studio_installer_manifest_integrity | string | Optional SRI integrity for the downloaded Visual Studio installer manifest. Default: "" |
windows_sdkWindows SDK extension backed by public NuGet packages.
Tag Classes
configure| Attribute | Type | Description |
|---|---|---|
architectures | list of strings | Architectures of the Windows SDK to download additionally to the base Default: ["x64", "arm64"] |
windows_sdk_version | string | Windows SDK NuGet package version, e.g. Default: "" |
windows_sdk_integrity | dictionary: String → String | (optional) dict from Windows SDK NuGet package ID to integrity string Default: {} |
transformations | dictionary: String → String | Dict of source path patterns to transformations applied when run on case-sensitive filesystems. Supports exact paths and Example: Default: {} |
@windows_support//windows:repositories.bzl
Declare runtime dependencies
These are needed for local dev, and users must install them as well.
See https://docs.bazel.build/versions/main/skylark/deploying.html#dependencies
Functions & Macros
http_archiveParameters
*name | |
kwargs |
windows_dependencies