зеркало из https://github.com/github/codeql.git
Fix zipmerge build and test
This commit is contained in:
Родитель
8e26f64f89
Коммит
07f4288e1f
|
@ -4,6 +4,7 @@ cc_library(
|
|||
"zipmerge.cpp",
|
||||
],
|
||||
hdrs = ["zipmerge.h"],
|
||||
copts = ["-std=c++20"],
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
|
@ -11,6 +12,7 @@ cc_binary(
|
|||
srcs = [
|
||||
"zipmerge_main.cpp",
|
||||
],
|
||||
copts = ["-std=c++20"],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":lib",
|
||||
|
@ -21,6 +23,7 @@ cc_test(
|
|||
name = "test",
|
||||
size = "small",
|
||||
srcs = ["zipmerge_test.cpp"],
|
||||
copts = ["-std=c++20"],
|
||||
data = glob(["test-files/*"]),
|
||||
linkstatic = True, # required to build the test in the internal repo
|
||||
deps = [
|
||||
|
|
Загрузка…
Ссылка в новой задаче