Add Bazel support
This commit is contained in:
parent
b2b4664030
commit
bbd7fcf127
13
BUILD.bazel
Normal file
13
BUILD.bazel
Normal file
@ -0,0 +1,13 @@
|
||||
load("@rules_cc//cc:defs.bzl", "cc_library")
|
||||
|
||||
cc_library(
|
||||
name = "pugixml",
|
||||
srcs = [
|
||||
"src/pugiconfig.hpp",
|
||||
"src/pugixml.cpp",
|
||||
],
|
||||
hdrs = ["src/pugixml.hpp"],
|
||||
includes = ["src/"],
|
||||
strip_include_prefix = "src",
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
7
MODULE.bazel
Normal file
7
MODULE.bazel
Normal file
@ -0,0 +1,7 @@
|
||||
module(
|
||||
name = "pugixml",
|
||||
version = "1.14",
|
||||
compatibility_level = 1,
|
||||
)
|
||||
|
||||
bazel_dep(name = "rules_cc", version = "0.0.9")
|
||||
0
WORKSPACE.bazel
Normal file
0
WORKSPACE.bazel
Normal file
Loading…
Reference in New Issue
Block a user