-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD
42 lines (38 loc) · 1010 Bytes
/
BUILD
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
31
32
33
34
35
36
37
38
39
40
41
42
cc_library(
name = "gl3",
visibility = ["//visibility:public"],
hdrs = ["vendor/glad_gl3/glad/glad.h", "vendor/glad_gl3/KHR/khrplatform.h"],
srcs = ["vendor/glad_gl3/glad.c"],
includes = [
"vendor/glad_gl3",
]
)
cc_library(
name = "gl4",
visibility = ["//visibility:public"],
hdrs = ["vendor/glad_gl4/glad/glad.h", "vendor/glad_gl4/KHR/khrplatform.h"],
srcs = ["vendor/glad_gl4/glad.c"],
includes = [
"vendor/glad_gl4",
]
)
cc_library(
name = "gles3",
visibility = ["//visibility:public"],
hdrs = ["vendor/glad_gles3/glad/glad.h", "vendor/glad_gles3/KHR/khrplatform.h"],
srcs = ["vendor/glad_gles3/glad.c"],
includes = [
"vendor/glad_gles3",
]
)
cc_library(
name = "snuifw",
visibility = ["//visibility:public"],
deps = [
"//src:full",
],
copts = select({
"@bazel_tools//src/conditions:windows": ["/std:c++20"],
"//conditions:default": ["-std=c++20"],
}),
)