catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Create a BUILD file for compatibility with bazel
- Commit
0e9bae1cdb5d7bcd967bcab10539805cc3bccb32- Author
- Valentin Tolmer ·
- Committer
- Martin Hořeňovský
- Parents
f133277910c5
Changes
.gitignore | 1 + BUILD.bazel | 10 ++++++++++ WORKSPACE | 0 3 files changed, 11 insertions(+) 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