From 33cf0b51bf76475dc590e5e7345043d6026bb733 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 27 Sep 2017 09:57:04 +0900 Subject: add template for bazel cc BUILD file --- template/bzl/file-BUILD-cc.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 template/bzl/file-BUILD-cc.txt (limited to 'template') diff --git a/template/bzl/file-BUILD-cc.txt b/template/bzl/file-BUILD-cc.txt new file mode 100644 index 0000000..1208596 --- /dev/null +++ b/template/bzl/file-BUILD-cc.txt @@ -0,0 +1,5 @@ +cc_binary( + name = {{_expr_:json_encode(expand('%:p:h:t'))}} + deps = ["@com_google_absl//absl/strings"], + srcs = {{_expr_:json_encode(glob('*.cc',0,1)+glob('*.cxx',0,1))}} +) -- cgit v1.2.3-54-g00ecf