diff --git a/.bazelrc b/.bazelrc new file mode 100644 index 00000000..6e0c954e --- /dev/null +++ b/.bazelrc @@ -0,0 +1 @@ +build --copt='-Werror' --copt='-pedantic' --copt='-Wall' --copt='-Wextra' --copt='-std=c++17' \ No newline at end of file diff --git a/BUILD.bazel b/BUILD.bazel new file mode 100644 index 00000000..1484fc91 --- /dev/null +++ b/BUILD.bazel @@ -0,0 +1,12 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +cc_library( + name = "rive-cpp", + srcs = glob(["src/**/*.cpp"]), + hdrs = glob([ + "include/**/*.hpp", + "include/**/*.h", + ]), + includes = ["include"], + visibility = ["//visibility:public"], +) diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 00000000..e69de29b