Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1547 Simplify integration of iceoryx into externa…
Browse files Browse the repository at this point in the history
…l bazel projects
  • Loading branch information
elBoberido committed Oct 15, 2024
1 parent f88bc9c commit f0eb23d
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 7 deletions.
9 changes: 2 additions & 7 deletions WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
workspace(name = "org_eclipse_iceoryx")

# Load dependency googletest
load("//bazel:load_repositories.bzl", "load_repositories")
load("//bazel:deps.bzl", "iceoryx_deps")

load_repositories()

# Load dependency cpptoml
load("//bazel:setup_repositories.bzl", "setup_repositories")

setup_repositories()
iceoryx_deps()
27 changes: 27 additions & 0 deletions bazel/deps.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"""
Copyright (c) 2024 by ekxide IO GmbH. 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("//bazel:load_repositories.bzl", "load_repositories")
load("//bazel:setup_repositories.bzl", "setup_repositories")

def iceoryx_deps():
"""
Loads iceoryx dependencies into workspace
"""
load_repositories()
setup_repositories()

0 comments on commit f0eb23d

Please sign in to comment.