Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWael Nasreddine <wael.nasreddine@gmail.com>2020-05-28 09:22:16 +0300
committerGitHub <noreply@github.com>2020-05-28 09:22:16 +0300
commit5ceb62dd7cb353c71a60ffb3dffc48b6bed8c05a (patch)
tree37da2183227a3f0846d9032a4e7cd4284f131cea /BUILD.bazel
parentfd240f566505a187adf114fabb7fa020ec3301c0 (diff)
Rename BUILD as BUILD.bazel (#537)
Bazel natively supports build files named BUILD and BUILD.bazel[0]. Using BUILD conflicts with CMake when building on case-insensitive file systems such as the default filesystem of macOS machines. [0]: https://docs.bazel.build/versions/master/build-ref.html#packages
Diffstat (limited to 'BUILD.bazel')
-rw-r--r--BUILD.bazel21
1 files changed, 21 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..f9fc57f
--- /dev/null
+++ b/BUILD.bazel
@@ -0,0 +1,21 @@
+licenses(["notice"])
+
+exports_files(["LICENSE.txt"])
+
+package(default_visibility = ["//visibility:public"])
+
+cc_library(
+ name = "nanopb",
+ visibility = ["//visibility:public"],
+ hdrs = [
+ "pb.h",
+ "pb_common.h",
+ "pb_decode.h",
+ "pb_encode.h",
+ ],
+ srcs = [
+ "pb_common.c",
+ "pb_decode.c",
+ "pb_encode.c",
+ ],
+)