-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathBUILD.bazel
More file actions
37 lines (34 loc) · 818 Bytes
/
BUILD.bazel
File metadata and controls
37 lines (34 loc) · 818 Bytes
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
load("@rules_cc//cc:defs.bzl", "cc_library")
alias(
name = "pixelmatch",
actual = ":pixelmatch-cpp17",
visibility = ["//visibility:public"],
)
cc_library(
name = "pixelmatch-cpp17",
srcs = [
"src/pixelmatch/pixelmatch.cc",
],
hdrs = [
"src/pixelmatch/pixelmatch.h",
],
includes = ["src"],
visibility = ["//visibility:public"],
)
# Optional library containing utils to save and load images with stb_image.
cc_library(
name = "image_utils",
srcs = [
"src/pixelmatch/image_utils.cc",
],
hdrs = [
"src/pixelmatch/image_utils.h",
],
includes = ["src"],
visibility = ["//visibility:public"],
deps = [
"//:pixelmatch-cpp17",
"//third_party/stb:image",
"//third_party/stb:image_write",
],
)