From 32162c20d1d8a8dce7637b746214f5167f2bcb48 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Thu, 16 Jun 2022 11:10:00 -0700 Subject: [PATCH] Bazel Signed-off-by: Louise Poubel --- BUILD.bazel | 16 ++++++++-------- eigen3/BUILD.bazel | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index ed5997963..7ce600965 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,11 +1,11 @@ load( - "//ign_bazel:build_defs.bzl", + "//gz_bazel:build_defs.bzl", "IGNITION_FEATURES", "IGNITION_VISIBILITY", "cmake_configure_file", "generate_include_header", - "ign_config_header", - "ign_export_header", + "gz_config_header", + "gz_export_header", ) package( @@ -26,7 +26,7 @@ PROJECT_MINOR = 0 PROJECT_PATCH = 0 # Generates config.hh based on the version numbers in CMake code. -ign_config_header( +gz_config_header( name = "config", src = "include/ignition/math/config.hh.in", cmakelists = ["CMakeLists.txt"], @@ -34,7 +34,7 @@ ign_config_header( project_version = (PROJECT_MAJOR, PROJECT_MINOR, PROJECT_PATCH), ) -ign_export_header( +gz_export_header( name = "include/ignition/math/Export.hh", export_base = "IGNITION_MATH", lib_name = "ignition-math", @@ -70,7 +70,7 @@ public_headers = public_headers_no_gen + [ ] cc_library( - name = "ign_math", + name = "gz_math", srcs = sources + private_headers, hdrs = public_headers, includes = ["include"], @@ -83,7 +83,7 @@ cc_binary( linkopts = ["-Wl,-soname,libignition-math7.so"], linkshared = True, deps = [ - ":ign_math", + ":gz_math", ], ) @@ -91,7 +91,7 @@ cc_binary( name = src.replace("/", "_").replace(".cc", "").replace("src_", ""), srcs = [src], deps = [ - ":ign_math", + ":gz_math", "@gtest", "@gtest//:gtest_main", ], diff --git a/eigen3/BUILD.bazel b/eigen3/BUILD.bazel index 823745fc9..fd774c217 100644 --- a/eigen3/BUILD.bazel +++ b/eigen3/BUILD.bazel @@ -1,5 +1,5 @@ load( - "//ign_bazel:build_defs.bzl", + "//gz_bazel:build_defs.bzl", "IGNITION_ROOT", "IGNITION_VISIBILITY", ) @@ -21,7 +21,7 @@ cc_library( includes = ["include"], deps = [ "@eigen3", - IGNITION_ROOT + "ign_math", + IGNITION_ROOT + "gz_math", ], )