load("@entt//bazel:copts.bzl", "COPTS")
load("@rules_cc//cc:defs.bzl", "cc_test")

# buildifier: keep sorted
_TESTS = [
    "meta_any",
    "meta_base",
    "meta_container",
    "meta_context",
    "meta_conv",
    "meta_ctor",
    "meta_custom",
    "meta_data",
    "meta_dereference",
    "meta_factory",
    "meta_func",
    "meta_handle",
    "meta_range",
    "meta_template",
    "meta_type",
    "meta_utility",
]

[cc_test(
    name = test,
    srcs = ["{}.cpp".format(test)],
    copts = COPTS,
    deps = [
        "//common",
        "@entt",
        "@googletest//:gtest",
        "@googletest//:gtest_main",
    ],
) for test in _TESTS]
