Add sdl3_windows 3.1.10

This commit is contained in:
2025-01-20 00:23:07 +01:00
parent c9aa86f73d
commit 9ff32056ca
5 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,6 @@
module(
name = "sdl3_windows",
version = "3.1.10",
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/prerelease-3.1.10/SDL3-devel-3.1.10-VC.zip",
"integrity": "sha256-tCvqtXH5JfDRxB0MLxlTyPkVAagOCNrkHWL34M5ShRw=",
"strip_prefix": "SDL3-3.1.10",
"overlay": {
"MODULE.bazel": "sha256-BXMfBKQ+8yQWVXrPPHQK9nrwE3P4gVGiITRnnIyyy3o=",
"BUILD.bazel": "sha256-WkD5OcRIZFbwv1HU26gIZn1G0wJC3AsSAX9xPIWsqCc="
}
}

View File

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