-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pugixml): add
includes
argument (#2374)
Fixes #2350
- Loading branch information
Showing
6 changed files
with
55 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
module( | ||
name = "pugixml", | ||
version = "1.14.bcr.1", | ||
compatibility_level = 1, | ||
) | ||
bazel_dep(name = "rules_cc", version = "0.0.9") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- /dev/null | ||
+++ BUILD.bazel | ||
@@ -0,0 +1,15 @@ | ||
+""" Builds pugixml. | ||
+""" | ||
+ | ||
+load("@rules_cc//cc:defs.bzl", "cc_library") | ||
+ | ||
+cc_library( | ||
+ name = "pugixml", | ||
+ srcs = ["pugixml.cpp"], | ||
+ hdrs = [ | ||
+ "pugiconfig.hpp", | ||
+ "pugixml.hpp", | ||
+ ], | ||
+ includes = ["."], | ||
+ visibility = ["//visibility:public"], | ||
+) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- MODULE.bazel | ||
+++ MODULE.bazel | ||
@@ -0,0 +1,6 @@ | ||
+module( | ||
+ name = "pugixml", | ||
+ version = "1.14.bcr.1", | ||
+ compatibility_level = 1, | ||
+) | ||
+bazel_dep(name = "rules_cc", version = "0.0.9") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
matrix: | ||
platform: ["debian10", "ubuntu2004", "macos", "macos_arm64", "windows"] | ||
bazel: ["7.x"] | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
bazel: ${{ bazel }} | ||
platform: ${{ platform }} | ||
build_targets: | ||
- '@pugixml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"url": "https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz", | ||
"integrity": "sha256-LxDidocMZLHbaAkFCnXhGol6jXRWxL5cay41oRFooBU=", | ||
"strip_prefix": "pugixml-1.14/src", | ||
"patches": { | ||
"add_build_file.patch": "sha256-G4BTgkVmpPFVxSudpzCzKX9j4q6ecn4s/pnq9xq8WPQ=", | ||
"module_dot_bazel.patch": "sha256-koYokgnmPZ4opnO9z8Ilk9dCJP50JMh+piOXxdYG4ic=" | ||
}, | ||
"patch_strip": 0 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,8 @@ | |
"github:zeux/pugixml" | ||
], | ||
"versions": [ | ||
"1.14" | ||
"1.14", | ||
"1.14.bcr.1" | ||
], | ||
"yanked_versions": {} | ||
} |