File tree Expand file tree Collapse file tree 6 files changed +66
-0
lines changed
Expand file tree Collapse file tree 6 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ module (
2+ name = "pugixml" ,
3+ version = "1.14" ,
4+ compatibility_level = 1 ,
5+ )
6+ bazel_dep (name = "rules_cc" , version = "0.0.9" )
Original file line number Diff line number Diff line change 1+ --- /dev/null
2+ +++ BUILD.bazel
3+ @@ -0,0 +1,14 @@
4+ + """ Builds pugixml.
5+ + """
6+ +
7+ + load("@rules_cc//cc:defs.bzl", "cc_library")
8+ +
9+ + cc_library(
10+ + name = "pugixml",
11+ + srcs = ["pugixml.cpp"],
12+ + hdrs = [
13+ + "pugiconfig.hpp",
14+ + "pugixml.hpp",
15+ + ],
16+ + visibility = ["//visibility:public"],
17+ + )
Original file line number Diff line number Diff line change 1+ --- MODULE.bazel
2+ +++ MODULE.bazel
3+ @@ -0,0 +1,6 @@
4+ + module(
5+ + name = "pugixml",
6+ + version = "1.14",
7+ + compatibility_level = 1,
8+ + )
9+ + bazel_dep(name = "rules_cc", version = "0.0.9")
Original file line number Diff line number Diff line change 1+ matrix :
2+ platform :
3+ - debian10
4+ - ubuntu2004
5+ - macos
6+ - macos_arm64
7+ - windows
8+ tasks :
9+ verify_targets :
10+ name : Verify build targets
11+ platform : ${{ platform }}
12+ build_targets :
13+ - ' @pugixml'
Original file line number Diff line number Diff line change 1+ {
2+ "url" : " https://github.com/zeux/pugixml/releases/download/v1.14/pugixml-1.14.tar.gz" ,
3+ "integrity" : " sha256-LxDidocMZLHbaAkFCnXhGol6jXRWxL5cay41oRFooBU=" ,
4+ "strip_prefix" : " pugixml-1.14/src" ,
5+ "patches" : {
6+ "add_build_file.patch" : " sha256-/Ycrm7Rz1mjkgoqaltXPHIRMcteFCzQCCfyaaD5OnOE=" ,
7+ "module_dot_bazel.patch" : " sha256-pKjUdowpWYFl9jLVxHnXO2lMF5aEUYnXBhUvvO9Fyak="
8+ },
9+ "patch_strip" : 0
10+ }
Original file line number Diff line number Diff line change 1+ {
2+ "homepage" : " https://github.com/zeux/pugixml.git" ,
3+ "maintainers" : [],
4+ "repository" : [
5+ " github:zeux/pugixml"
6+ ],
7+ "versions" : [
8+ " 1.14"
9+ ],
10+ "yanked_versions" : {}
11+ }
You can’t perform that action at this time.
0 commit comments