https://github.com/ryanmcdermott/bazel-cpp-template
Simple starter template for a C++ project built with Bazel
https://github.com/ryanmcdermott/bazel-cpp-template
Last synced: about 1 year ago
JSON representation
Simple starter template for a C++ project built with Bazel
- Host: GitHub
- URL: https://github.com/ryanmcdermott/bazel-cpp-template
- Owner: ryanmcdermott
- License: mit
- Created: 2020-06-07T22:46:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-07T01:33:31.000Z (almost 6 years ago)
- Last Synced: 2024-10-21T21:06:52.693Z (over 1 year ago)
- Language: C++
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bazel-cpp-template
## What is this?
This project is a simple starter template for a C++ project that uses the [Bazel build system](https://www.bazel.build/).
## Installation
First, ensure that you have [installed Bazel](https://docs.bazel.build/versions/3.2.0/install.html). Then run the following:
```
git clone https://github.com/ryanmcdermott/bazel-cpp-template
```
## Running
### Main
```
bazel run src:main
```
### Tests
```
bazel test src/example_lib:example_lib_test
```