Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
BUILD.bazel 997 B
################################################################################
# Copyright (c) 2021, Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
################################################################################

cc_library(
    name = "mantle_api",
    hdrs = glob(["include/**/*.h"]),
    includes = ["include"],
    visibility = ["//visibility:public"],
    deps = ["@units_nhh"],
)

cc_library(
    name = "test_utils",
    hdrs = ["test/MantleAPI/Test/test_utils.h"],
    includes = ["test"],
    visibility = ["//visibility:public"],
    deps = [
        ":mantle_api",
        "@googletest//:gtest_main",
    ],
)

cc_test(
    name = "interface_test",
    timeout = "short",
    srcs = ["test/interface_test.cpp"],
    deps = [":test_utils"],
)