mirror of
https://github.com/gflags/gflags.git
synced 2025-04-05 05:25:04 +00:00
doc: Update use of gflags with Bazel documentation
This commit is contained in:
parent
b872d6b5d4
commit
84ab952375
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
2
doc
2
doc
|
@ -1 +1 @@
|
|||
Subproject commit ea1cc83b50dc44df1f38891d9c95e99e2f127a80
|
||||
Subproject commit 78c66b37266707a3cf2904c3891b08cddae8d83e
|
Loading…
Add table
Reference in a new issue