Skip to content

Commit

Permalink
iox-#1533 Fix Bazel build
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Sep 6, 2023
1 parent 03da6d3 commit 667fe19
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions iceoryx_binding_c/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ cc_test(
"//iceoryx_binding_c",
"//iceoryx_hoofs:iceoryx_hoofs_testing",
"//iceoryx_posh",
"//iceoryx_posh:iceoryx_posh_roudi_env",
"//iceoryx_posh:iceoryx_posh_testing",
],
)
17 changes: 17 additions & 0 deletions iceoryx_posh/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,22 @@ cc_binary(
],
)

#
########## build iceoryx posh roudi env lib ##########
#
cc_library(
name = "iceoryx_posh_roudi_env",
srcs = glob(["roudi_env/**/*.cpp"]),
hdrs = glob(["roudi_env/include/**"]),
strip_include_prefix = "roudi_env/include",
visibility = ["//visibility:public"],
deps = [
":iceoryx_posh",
":iceoryx_posh_roudi",
"//iceoryx_hoofs",
],
)

#
########## build iceoryx posh testing lib ##########
#
Expand All @@ -202,6 +218,7 @@ cc_library(
deps = [
":iceoryx_posh",
":iceoryx_posh_roudi",
":iceoryx_posh_roudi_env",
"//iceoryx_hoofs:iceoryx_hoofs_testing",
"@googletest//:gtest",
],
Expand Down
2 changes: 2 additions & 0 deletions iceoryx_posh/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ cc_test(
"//iceoryx_hoofs:iceoryx_hoofs_testing",
"//iceoryx_posh",
"//iceoryx_posh:iceoryx_posh_config",
"//iceoryx_posh:iceoryx_posh_roudi_env",
"//iceoryx_posh:iceoryx_posh_testing",
"@cpptoml",
],
Expand Down Expand Up @@ -77,6 +78,7 @@ cc_test(
"//iceoryx_hoofs:iceoryx_hoofs_testing",
"//iceoryx_posh",
"//iceoryx_posh:iceoryx_posh_gateway",
"//iceoryx_posh:iceoryx_posh_roudi_env",
"//iceoryx_posh:iceoryx_posh_testing",
],
)

0 comments on commit 667fe19

Please sign in to comment.