From 6832e1a9194aaddf3819795ef5160585ad3d1fd9 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 2 Mar 2025 22:59:52 +0100 Subject: Add sdl3_windows 3.2.6 --- modules/sdl3_windows/3.2.6/overlay/BUILD.bazel | 30 ++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 modules/sdl3_windows/3.2.6/overlay/BUILD.bazel (limited to 'modules/sdl3_windows/3.2.6/overlay/BUILD.bazel') diff --git a/modules/sdl3_windows/3.2.6/overlay/BUILD.bazel b/modules/sdl3_windows/3.2.6/overlay/BUILD.bazel new file mode 100644 index 0000000..b839d05 --- /dev/null +++ b/modules/sdl3_windows/3.2.6/overlay/BUILD.bazel @@ -0,0 +1,30 @@ +load("@rules_license//rules:license.bzl", "license") + +license( + name = "license", + license_kinds = [ + "@rules_license//licenses/spdx:Zlib", + ], + license_text = "LICENSE.txt", + package_name = "SDL 3", + package_url = "https://libsdl.org/", +) + +package( + default_applicable_licenses = ["//:license"], +) + +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"], +) + -- cgit