File: BUILD.bazel

package info (click to toggle)
log4cplus 2.0.8-1.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 11,592 kB
  • sloc: cpp: 53,091; sh: 10,537; ansic: 1,845; python: 1,226; perl: 263; makefile: 209; xml: 85; objc: 59
file content (17 lines) | stat: -rw-r--r-- 436 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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"],
    includes = ["single_include/"],
    visibility = ["//visibility:public"],
)

cc_library(
    name = "catch2_with_main",
    srcs = ["src/catch_with_main.cpp"],
    visibility = ["//visibility:public"],
    deps = ["//:catch2"],
)