Add bazel Support (#724)

Example of how someone might consume yaml-cpp with bazel:

cc_binary(
    name = "example",
    srcs = ["example.cc"],
    deps = ["@com_github_jbeder_yaml_cpp//:yaml-cpp"],
)
This commit is contained in:
Ezekiel Warren
2019-09-27 08:11:38 -07:00
committed by Jesse Beder
parent 5e9cb0128d
commit 62ff351432
4 changed files with 39 additions and 0 deletions

14
test/BUILD.bazel Normal file
View File

@@ -0,0 +1,14 @@
cc_test(
name = "test",
srcs = glob([
"*.cpp",
"*.h",
"integrations/*.cpp",
"node/*.cpp",
]),
deps = [
"//:yaml-cpp",
"//:yaml-cpp_internal",
"@com_google_googletest//:gtest_main",
],
)