From 0b5b55166b5ae21c6c1cdd21bfe771d2e76333d5 Mon Sep 17 00:00:00 2001 From: Simon Hoinkis Date: Wed, 3 Aug 2022 00:16:25 +0200 Subject: [PATCH] iox-#590 Adapt Bazel files accordingly to CMake changes Signed-off-by: Simon Hoinkis --- iceoryx_dust/BUILD.bazel | 29 +++++++++++++++++++++++++++++ iceoryx_posh/BUILD.bazel | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 iceoryx_dust/BUILD.bazel diff --git a/iceoryx_dust/BUILD.bazel b/iceoryx_dust/BUILD.bazel new file mode 100644 index 00000000000..6e61d471389 --- /dev/null +++ b/iceoryx_dust/BUILD.bazel @@ -0,0 +1,29 @@ +# Copyright (c) 2022 by Apex.AI Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 + +load("@rules_cc//cc:defs.bzl", "cc_library") + +cc_library( + name = "iceoryx_dust", + srcs = glob([ + "source/**/*.cpp", + "source/**/*.hpp", + ]), + hdrs = glob(["include/**"]), + strip_include_prefix = "include", + visibility = ["//visibility:public"], + eps = ["//iceoryx_hoofs"], +) diff --git a/iceoryx_posh/BUILD.bazel b/iceoryx_posh/BUILD.bazel index e32b1e09eba..ae513577c3e 100644 --- a/iceoryx_posh/BUILD.bazel +++ b/iceoryx_posh/BUILD.bazel @@ -89,7 +89,7 @@ cc_library( ], strip_include_prefix = "include", visibility = ["//visibility:public"], - deps = ["//iceoryx_hoofs"], + deps = ["//iceoryx_dust", "//iceoryx_hoofs",], ) #