From 88b5952c3c83ebaaaa2fb79c573f339ed6635b71 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen Date: Fri, 26 Jul 2019 18:40:58 -0400 Subject: [PATCH] Add Bazel BUILD and WORKSPACE files. --- .gitignore | 2 ++ BUILD | 15 +++++++++++++++ WORKSPACE | 1 + 3 files changed, 18 insertions(+) create mode 100644 BUILD create mode 100644 WORKSPACE diff --git a/.gitignore b/.gitignore index 086e855c0..b4a1ee35c 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ cmake-build-debug test/test-* /.vs + +bazel-* diff --git a/BUILD b/BUILD new file mode 100644 index 000000000..d3a771110 --- /dev/null +++ b/BUILD @@ -0,0 +1,15 @@ +package(default_visibility = ["//visibility:public"]) + +exports_files([ + "LICENSE.MIT", + "NOTICE" +]) + +load(":nlohmann_json.bzl", "nlohmann_json_hdrs", "nlohmann_json_srcs") + +cc_library( + name = "nlohmann_json", + srcs = nlohmann_json_srcs, + hdrs = nlohmann_json_hdrs, + deps = [], +) diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 000000000..86de2d6e9 --- /dev/null +++ b/WORKSPACE @@ -0,0 +1 @@ +workspace(name = "com_github_nlohmann_json")