Skip to content

Files

Latest commit

ac7e3e6 · Aug 23, 2024

History

History

cpp-tutorial

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.