Skip to content

Commit

Permalink
Add bazel files
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Jun 26, 2020
1 parent 609d759 commit 45ffb9a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,3 +1,3 @@
.DS_Store
bin/

/bazel-*
25 changes: 25 additions & 0 deletions BUILD.bazel
@@ -0,0 +1,25 @@
objc_library(
name = "nibsqueeze_lib",
srcs = glob(["src/*.h"]),
copts = [
"-Werror",
"-Wall",
"-Weverything",
"-pedantic",
"-Wno-direct-ivar-access",
"-Wno-padded",
"-Wno-cstring-format-directive",
"-Wno-objc-messaging-id",
"-Wno-format-pedantic",
"-Wno-format-pedantic",
"-Wno-implicit-int-conversion",
],
non_arc_srcs = glob(["src/*.m"]),
)

# https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary
cc_binary(
name = "nibsqueeze",
copts = [],
deps = [":nibsqueeze_lib"],
)
Empty file added WORKSPACE
Empty file.

0 comments on commit 45ffb9a

Please sign in to comment.