diff --git a/BUILD.bazel b/BUILD.bazel index 830da067..f063381a 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -79,6 +79,10 @@ cc_library( srcs = sources + private_headers, hdrs = public_headers, includes = ["include"], + copts = [ + "-fexceptions", + "-Wno-unused-value", + ], deps = [ GZ_ROOT + "utils", GZ_ROOT + "math", diff --git a/test/BUILD.bazel b/test/BUILD.bazel index d62c70a6..b0c103bb 100644 --- a/test/BUILD.bazel +++ b/test/BUILD.bazel @@ -1,7 +1,17 @@ load( "@gz//bazel/skylark:build_defs.bzl", + "GZ_FEATURES", "GZ_ROOT", ) +load( + "@gz//bazel/lint:lint.bzl", + "add_lint_tests", +) + +package( + default_applicable_licenses = [GZ_ROOT + "common:license"], + features = GZ_FEATURES, +) cc_test( name = "INTEGRATION_console", @@ -35,8 +45,11 @@ cc_test( GZ_ROOT + "common", GZ_ROOT + "common/graphics", GZ_ROOT + "common/testing", + GZ_ROOT + "math", "@gtest//:gtest_main", ], ) exports_files(["data"]) + +add_lint_tests()