mirror of https://github.com/bazelbuild/rules_cc
Merge pull request #106 from keith:ks/add-instructions-on-toolchain-use-to-readme
PiperOrigin-RevId: 376791361 Change-Id: I94fd4024fb097a3ba8c68f7d0ad199e3c5ef2fab
This commit is contained in:
commit
8d3ab5f22b
13
README.md
13
README.md
|
@ -35,6 +35,19 @@ cc_library(
|
|||
)
|
||||
```
|
||||
|
||||
# Using the rules_cc toolchain
|
||||
|
||||
If you'd like to use the cc toolchain defined in this repo add this to
|
||||
your WORKSPACE after you include rules_cc:
|
||||
|
||||
```bzl
|
||||
load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies", "rules_cc_toolchains")
|
||||
|
||||
rules_cc_dependencies()
|
||||
|
||||
rules_cc_toolchains()
|
||||
```
|
||||
|
||||
# Migration Tools
|
||||
|
||||
This repository also contains migration tools that can be used to migrate your
|
||||
|
|
Loading…
Reference in New Issue