Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 594 Bytes

File metadata and controls

19 lines (13 loc) · 594 Bytes

cpp-playground

A pre-initialized playground for C++ with a working library, main file and test.

Uses the Bazel build system, links in Abseil and googletest libraries.

The only pre-requisite to building and testing is installing Bazel (instructions). With bazel installed, the following will build, test and run the code.

# Build all targets.
bazel build :main

# Run the binary.
bazel run :main

# Execute tests.
bazel test :my_lib_test