# Copyright (c) 2026 Progmasoft. # SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-1.1 load("@rules_cc//cc:defs.bzl", "cc_library") package(default_visibility = ["//visibility:public"]) cc_library( name = "catch3", srcs = [ "Results.cpp", "Snapshot.cpp", "XmlWriter.cpp", ], hdrs = [ "Catch3.hpp", "Catch3/Assertions.hpp", "Catch3/Detail/InvalidArgument.hpp", "Catch3/Detail/Sequence.hpp", "Catch3/Generator.hpp", "Catch3/Generators/Boolean.hpp", "Catch3/Generators/Element.hpp", "Catch3/Generators/Integer.hpp", "Catch3/Generators/Text.hpp", "Catch3/Generators/Tuple.hpp", "Catch3/Generators/Vector.hpp", "Catch3/Property.hpp", "Catch3/Random.hpp", "Catch3/Results.hpp", "Catch3/Snapshot.hpp", "Catch3/XmlWriter.hpp", ], copts = select({ "@platforms//os:windows": ["/std:c++20"], "//conditions:default": ["-std=c++20"], }), strip_include_prefix = "/src", deps = ["//:catch2"], )