Add sdl3_windows 3.2.0

This commit is contained in:
2025-01-22 22:55:16 +01:00
parent 9ff32056ca
commit b21e1f8b7a
5 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,6 @@
module(
name = "sdl3_windows",
version = "3.2.0",
compatibility_level = 1,
bazel_compatibility = [">=8.0.0"],
)

View File

@ -0,0 +1,14 @@
cc_import(
name = "sdl3_imp",
interface_library = "lib/x64/SDL3.lib",
shared_library = "lib/x64/SDL3.dll",
)
cc_library(
name = "sdl3",
hdrs = glob(["include/SDL3/*.h"]),
includes = ["include"],
deps = [":sdl3_imp"],
visibility = ["//visibility:public"],
)

View File

@ -0,0 +1 @@
../MODULE.bazel

View File

@ -0,0 +1,10 @@
{
"type": "archive",
"url": "https://github.com/libsdl-org/SDL/releases/download/release-3.2.0/SDL3-devel-3.2.0-VC.zip",
"integrity": "sha256-A7YoFoIpr8oYujaftLP0aCYiH5nuRQC6HwpME4Tyt28=",
"strip_prefix": "SDL3-3.2.0",
"overlay": {
"MODULE.bazel": "sha256-BXMfBKQ+8yQWVXrPPHQK9nrwE3P4gVGiITRnnIyyy3o=",
"BUILD.bazel": "sha256-WkD5OcRIZFbwv1HU26gIZn1G0wJC3AsSAX9xPIWsqCc="
}
}

View File

@ -1,6 +1,7 @@
{
"homepage": "https://libsdl.org/",
"versions": [
"3.1.10"
"3.1.10",
"3.2.0"
]
}