Add sdl3_windows 3.2.6
This commit is contained in:
30
modules/sdl3_windows/3.2.6/overlay/BUILD.bazel
Normal file
30
modules/sdl3_windows/3.2.6/overlay/BUILD.bazel
Normal file
@ -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"],
|
||||
)
|
||||
|
1
modules/sdl3_windows/3.2.6/overlay/MODULE.bazel
Normal file
1
modules/sdl3_windows/3.2.6/overlay/MODULE.bazel
Normal file
@ -0,0 +1 @@
|
||||
../MODULE.bazel
|
Reference in New Issue
Block a user