Commit 84ab9523 authored by Andreas Schuh's avatar Andreas Schuh

doc: Update use of gflags with Bazel documentation

parent b872d6b5
......@@ -73,14 +73,14 @@ To use gflags in a Bazel project, map it in as an external dependency by editing
your WORKSPACE file:
git_repository(
name = "gflags_git",
commit = "", # Use the current HEAD commit
name = "com_github_gflags_gflags",
commit = "<INSERT COMMIT SHA HERE>",
remote = "https://github.com/gflags/gflags.git",
)
bind(
name = "gflags",
actual = "@gflags_git//:gflags",
actual = "@com_github_gflags_gflags//:gflags",
)
You can then add `//external:gflags` to the `deps` section of a `cc_binary` or
......
Subproject commit ea1cc83b50dc44df1f38891d9c95e99e2f127a80
Subproject commit 78c66b37266707a3cf2904c3891b08cddae8d83e
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment