From b21e1f8b7a33ec787b5dba36343a8a190ecbb668 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 22 Jan 2025 22:55:16 +0100 Subject: Add sdl3_windows 3.2.0 --- modules/sdl3_windows/3.2.0/MODULE.bazel | 6 ++++++ modules/sdl3_windows/3.2.0/overlay/BUILD.bazel | 14 ++++++++++++++ modules/sdl3_windows/3.2.0/overlay/MODULE.bazel | 1 + modules/sdl3_windows/3.2.0/source.json | 10 ++++++++++ 4 files changed, 31 insertions(+) create mode 100644 modules/sdl3_windows/3.2.0/MODULE.bazel create mode 100644 modules/sdl3_windows/3.2.0/overlay/BUILD.bazel create mode 100644 modules/sdl3_windows/3.2.0/overlay/MODULE.bazel create mode 100644 modules/sdl3_windows/3.2.0/source.json (limited to 'modules/sdl3_windows/3.2.0') diff --git a/modules/sdl3_windows/3.2.0/MODULE.bazel b/modules/sdl3_windows/3.2.0/MODULE.bazel new file mode 100644 index 0000000..cfe121b --- /dev/null +++ b/modules/sdl3_windows/3.2.0/MODULE.bazel @@ -0,0 +1,6 @@ +module( + name = "sdl3_windows", + version = "3.2.0", + compatibility_level = 1, + bazel_compatibility = [">=8.0.0"], +) diff --git a/modules/sdl3_windows/3.2.0/overlay/BUILD.bazel b/modules/sdl3_windows/3.2.0/overlay/BUILD.bazel new file mode 100644 index 0000000..60d1b2e --- /dev/null +++ b/modules/sdl3_windows/3.2.0/overlay/BUILD.bazel @@ -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"], +) + diff --git a/modules/sdl3_windows/3.2.0/overlay/MODULE.bazel b/modules/sdl3_windows/3.2.0/overlay/MODULE.bazel new file mode 100644 index 0000000..daf675c --- /dev/null +++ b/modules/sdl3_windows/3.2.0/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel diff --git a/modules/sdl3_windows/3.2.0/source.json b/modules/sdl3_windows/3.2.0/source.json new file mode 100644 index 0000000..62aa043 --- /dev/null +++ b/modules/sdl3_windows/3.2.0/source.json @@ -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=" + } +} -- cgit