Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/UsageTests/ToStringVariant.tests.cpp
diff options
context:
space:
mode:
authorValentin Tolmer2020-05-08 10:08:46 +0200
committerMartin Hořeňovský2020-05-17 13:18:22 +0200
commit0e9bae1cdb5d7bcd967bcab10539805cc3bccb32 (patch)
tree420b28598e1c95d3983dd03f73249a313df0a6b0 /projects/SelfTest/UsageTests/ToStringVariant.tests.cpp
parentf133277910c59ba5526a081e94d5e4ece406e517 (diff)
downloadcatch3-0e9bae1cdb5d7bcd967bcab10539805cc3bccb32.tar.gz
Create a BUILD file for compatibility with bazel
With this change, it's much easier for bazel projects to depend on Catch. They just need to add: - In the workspace: ``` http_archive( name = "com_github_catchorg_catch2", urls = ["https://github.com/catchorg/Catch2/archive/v2.12.1.tar.gz"], strip_prefix = "Catch2-2.12.1", sha256 = "e5635c082282ea518a8dd7ee89796c8026af8ea9068cd7402fb1615deacd91c3", ) ``` Or the appropriate version/sha256. - For the tests, assuming that `test_main.cc` contains the `CATCH_CONFIG_MAIN`: ``` cc_library( name = "test_main", srcs = ["test_main.cc"], deps = ["@com_github_catchorg_catch2//:catch2"], ) ```
Diffstat (limited to 'projects/SelfTest/UsageTests/ToStringVariant.tests.cpp')
0 files changed, 0 insertions, 0 deletions