diff --git a/.gitignore b/.gitignore index f017e9e0..dd12a74b 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ Build cmake-build-* benchmark-dir .conan/test_package/build +bazel-* diff --git a/BUILD.bazel b/BUILD.bazel new file mode 100644 index 00000000..2a412a8e --- /dev/null +++ b/BUILD.bazel @@ -0,0 +1,10 @@ +# Load the cc_library rule. +load("@rules_cc//cc:defs.bzl", "cc_library") + +# Header-only rule to export catch2/catch.hpp. +cc_library( + name = "catch2", + hdrs = ["single_include/catch2/catch.hpp"], + visibility = ["//visibility:public"], + includes = ["single_include/"], +) diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 00000000..e69de29b