File: add_sample.bzl

package info (click to toggle)
libargparse 3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 896 kB
  • sloc: cpp: 11,319; python: 8; makefile: 4; sh: 3
file content (6 lines) | stat: -rw-r--r-- 143 bytes parent folder | download
1
2
3
4
5
6
def add_sample(name):
    native.cc_binary(
        name = name,
        srcs = ["{}.cpp".format(name)],
        deps = ["//:argparse"],
    )