summaryrefslogtreecommitdiff
path: root/modules/sdl3_windows/3.2.6/overlay/BUILD.bazel
blob: b839d0503423d269c713f46bcebeaafb01ac85b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"],
)