diff options
author | Googler <noreply@google.com> | 2017-08-04 20:03:30 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2017-08-07 11:22:13 +0200 |
commit | 6c31578a7128f783b0c4bf2416aa8a0c8d4ea58e (patch) | |
tree | 7004d5d00d2f6f6bff132de8a97a2b7352c1cc17 /site/docs/tutorial | |
parent | d78b374941a7b70a9b1bdfdb903213d886226342 (diff) |
Add a TOC to the C++ tutorial.
RELNOTES: None.
PiperOrigin-RevId: 164283165
Diffstat (limited to 'site/docs/tutorial')
-rw-r--r-- | site/docs/tutorial/cpp.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/site/docs/tutorial/cpp.md b/site/docs/tutorial/cpp.md index 95898e3e80..36de924898 100644 --- a/site/docs/tutorial/cpp.md +++ b/site/docs/tutorial/cpp.md @@ -25,6 +25,22 @@ In this tutorial you'll learn how to: * Control target visibility across packages * Reference targets through labels +## Contents + +* [Before you begin](#before-you-begin) + * [Install Bazel](#install-bazel) + * [Get the sample project](#get-the-sample-project) +* [Build with Bazel](#build-with-bazel) + * [Set up the workspace](#set-up-the-workspace) + * [Understand the BUILD file](#understand-the-build-file) + * [Build the project](#build-the-project) + * [Review the dependency graph](#review-the-dependency-graph) +* [Refine your Bazel build](#refine-your-bazel-build) + * [Specify multiple build targets](#specify-multiple-build-targets) + * [Use multiple packages](#use-multiple-packages) +* [Use labels to reference targets](#use-labels-to-reference-targets) +* [Further reading](#further-reading) + ## Before you begin To prepare for the tutorial, first [Install Bazel](../install.md) if |