Skip to content

Commit e08f5b5

Browse files
committed
Deploying to docs from @ d62fa07 🚀
1 parent 568a37e commit e08f5b5

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ <h2 id="overview"><a class="header" href="#overview">Overview</a></h2>
164164
of C/C++ build systems to be later consumed by other rules as though they were normal <a href="https://docs.bazel.build/versions/master/be/c-cpp.html">cc</a>
165165
rules.</p>
166166
<h2 id="setup"><a class="header" href="#setup">Setup</a></h2>
167+
<h3 id="using-bzlmod"><a class="header" href="#using-bzlmod">Using bzlmod</a></h3>
168+
<p>Add the following content to your MODULE.bazel:</p>
169+
<pre><code class="language-python">bazel_dep(name = "rules_foreign_cc", version = "{version}")
170+
</code></pre>
171+
<h3 id="using-workspace"><a class="header" href="#using-workspace">Using WORKSPACE</a></h3>
167172
<p>To use the ForeignCc build rules, add the following content to your WORKSPACE file:</p>
168173
<pre><code class="language-python">load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
169174

print.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@ <h2 id="overview"><a class="header" href="#overview">Overview</a></h2>
165165
of C/C++ build systems to be later consumed by other rules as though they were normal <a href="https://docs.bazel.build/versions/master/be/c-cpp.html">cc</a>
166166
rules.</p>
167167
<h2 id="setup"><a class="header" href="#setup">Setup</a></h2>
168+
<h3 id="using-bzlmod"><a class="header" href="#using-bzlmod">Using bzlmod</a></h3>
169+
<p>Add the following content to your MODULE.bazel:</p>
170+
<pre><code class="language-python">bazel_dep(name = "rules_foreign_cc", version = "{version}")
171+
</code></pre>
172+
<h3 id="using-workspace"><a class="header" href="#using-workspace">Using WORKSPACE</a></h3>
168173
<p>To use the ForeignCc build rules, add the following content to your WORKSPACE file:</p>
169174
<pre><code class="language-python">load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
170175

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)