diff options
Diffstat (limited to 'template/bzl')
-rw-r--r-- | template/bzl/file-BUILD-cc.txt | 5 |
1 files changed, 5 insertions, 0 deletions
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))}} +) |