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"],
)
|
||
|---|---|---|
| .. | ||
| gtest-1.8.0 | ||
| integration | ||
| node | ||
| BUILD.bazel | ||
| CMakeLists.txt | ||
| create-emitter-tests.py | ||
| handler_test.h | ||
| main.cpp | ||
| mock_event_handler.h | ||
| ostream_wrapper_test.cpp | ||
| regex_test.cpp | ||
| specexamples.h | ||