mirror of
https://github.com/ETLCPP/etl.git
synced 2026-04-30 19:09:10 +08:00
37 lines
715 B
Python
37 lines
715 B
Python
load("@rules_cc//cc:defs.bzl", "cc_test")
|
|
|
|
cc_test(
|
|
name = "etl_tests",
|
|
size = "small",
|
|
srcs = glob(
|
|
[
|
|
"*.cpp",
|
|
"*.h",
|
|
],
|
|
exclude = [
|
|
"maincpp03check.cpp",
|
|
],
|
|
),
|
|
copts = [
|
|
"-Itest",
|
|
"-fno-omit-frame-pointer",
|
|
"-fno-common",
|
|
"-pedantic-errors",
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Werror",
|
|
"-Wfloat-equal",
|
|
"-Wshadow",
|
|
"-Wnull-dereference",
|
|
"-Wsign-conversion",
|
|
"-Wextra-semi",
|
|
"-Wno-maybe-uninitialized",
|
|
"-g",
|
|
],
|
|
linkopts = ["-latomic"],
|
|
deps = [
|
|
"//:etl",
|
|
"//test/UnitTest++:unittest-cpp",
|
|
],
|
|
)
|