bazelbuild / bazel-central-registry

The central registry of Bazel modules for the Bzlmod external dependency system.

Home Page:https://registry.bazel.build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wanted: p-ranav/argparse

TendTo opened this issue · comments

Module location

https://github.com/p-ranav/argparse

Link to bzlmod issue in the module's repository

No response

Any other context to provide?

The inclusion of this module should be pretty straight forward, since it it a simple header only library. Something like

# BUILD.bazel
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
    name = "argparse",
    hdrs = ["//:include/argparse/argparse.hpp"],
    visibility = ["//visibility:public"],
    strip_include_prefix = "include",
)
# MODULE.bazel
module(
    name = "argparse",
    compatibility_level = 3,
    version = "3.0",
)

bazel_dep(name = "rules_cc", version = "0.0.9")

Fund our work

  • Sponsor our community's open source work by donating a feature bounty