diff --git a/.bazelrc b/.bazelrc index ecc6c4e..6298f7c 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,3 +1,6 @@ build --//core:codspeed_mode=instrumentation build --compilation_mode=dbg build --copt=-O2 + +# Flip this early to avoid breaking compatibility once it becomes the default. +build --incompatible_disallow_empty_glob diff --git a/core/BUILD b/core/BUILD index 3c13b0d..02f091a 100644 --- a/core/BUILD +++ b/core/BUILD @@ -6,7 +6,7 @@ CODSPEED_VERSION = "1.1.0" # Define the codspeed library cc_library( name = "codspeed", - srcs = glob(["src/**/*.cpp"] + ["src/**/*.h"] + ["src/**/*.hpp"]), + srcs = glob(["src/**/*.cpp"]), hdrs = glob(["include/**/*.h"] + ["include/**/*.hpp"]), includes = ["include"], defines = [