summaryrefslogtreecommitdiff
path: root/asl/base/BUILD.bazel
blob: cd05e00f5f3a462ed96ca1e4581a96faf15c48ee (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
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2025 Steven Le Rouzic
#
# SPDX-License-Identifier: BSD-3-Clause

cc_library(
    name = "base",
    hdrs = [
        "annotations.hpp",
        "assert.hpp",
        "config.hpp",
        "defer.hpp",
        "float.hpp",
        "functional.hpp",
        "integers.hpp",
        "meta.hpp",
        "utility.hpp",
    ],
    srcs = [
        "assert.cpp",
    ],
    visibility = ["//visibility:public"],
)

[cc_test(
    name = "%s_tests" % name,
    srcs = [
        "%s_tests.cpp" % name,
    ],
    deps = [
        ":base",
        "//asl/tests:utils",
        "//asl/testing",
        "//asl/types:box",
    ],
) for name in [
    "defer",
    "float",
    "functional",
    "integers",
    "meta",
    "utility",
]]