Add Bazel BUILD and WORKSPACE files.

This commit is contained in:
Tommy Nguyen 2019-07-26 18:40:58 -04:00
parent 82322db89b
commit 88b5952c3c
No known key found for this signature in database
GPG Key ID: 8E347123F020B734
3 changed files with 18 additions and 0 deletions

2
.gitignore vendored
View File

@ -23,3 +23,5 @@ cmake-build-debug
test/test-*
/.vs
bazel-*

15
BUILD Normal file
View File

@ -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 = [],
)

1
WORKSPACE Normal file
View File

@ -0,0 +1 @@
workspace(name = "com_github_nlohmann_json")