Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Latest commit

History

History

cpp-tutorial

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

Examples to build C++ code

This folder is part of the C++ Bazel Tutorial, found at https://bazel.build/start/cpp

This package will showcase how to build C++ code in stages.

Stage 1

The first stage is really simple and shows you how to compile a binary with a single source file.

Stage 2

The second stage will showcase how to build an application with multiple source and header files, separated in a library and a binary.

Stage 3

The third stage showcases how to link multiple build directories by building multiple libraries in different packages and then connecting it up with the main application.