Skip to content

Commit

Permalink
feat: Add cxxopts 3.0.0 (#3455)
Browse files Browse the repository at this point in the history
  • Loading branch information
hofbi authored Dec 18, 2024
1 parent c7eed5c commit a22ff11
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/cxxopts/3.0.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module(
name = "cxxopts",
version = "3.0.0",
compatibility_level = 0,
)

bazel_dep(name = "rules_cc", version = "0.0.17")
9 changes: 9 additions & 0 deletions modules/cxxopts/3.0.0/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "cxxopts",
hdrs = ["include/cxxopts.hpp"],
includes = ["include"],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)
1 change: 1 addition & 0 deletions modules/cxxopts/3.0.0/overlay/MODULE.bazel
18 changes: 18 additions & 0 deletions modules/cxxopts/3.0.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- ubuntu2404
- windows
bazel: [7.x, 8.x]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@cxxopts//...'
10 changes: 10 additions & 0 deletions modules/cxxopts/3.0.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/jarro2783/cxxopts/archive/refs/tags/v3.0.0.tar.gz",
"integrity": "sha256-NvQfoqRrPBRmYTtj8/pz3CTZEryQ1mcUfx5DIVqMbQA=",
"strip_prefix": "cxxopts-3.0.0",
"patch_strip": 0,
"overlay": {
"BUILD.bazel": "sha256-LwVofPT2XkpmRB/WxGZk9HnM8nSfpbSXJMKWUVVJ/eY=",
"MODULE.bazel": "sha256-9lWlexa0HwkmdsZulQOHUMawcA/Y0cd1QC87zE2IdtM="
}
}
16 changes: 16 additions & 0 deletions modules/cxxopts/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"homepage": "https://github.com/jarro2783/cxxopts",
"maintainers": [
{
"github": "hofbi",
"name": "Markus Hofbauer"
}
],
"repository": [
"github:jarro2783/cxxopts"
],
"versions": [
"3.0.0"
],
"yanked_versions": {}
}

0 comments on commit a22ff11

Please sign in to comment.