Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.32 KB

File metadata and controls

45 lines (34 loc) · 1.32 KB

code-base

Building

Dependencies

  • Bazel: for generating compilation targets.

Build steps

1) Install Bazel build tool

2) Check-Out this project

# If using SSH
git clone git@github.com:npuichigo/code-base.git
# Or if using HTTPS
git clone https://github.com/npuichigo/code-base.git

3) Build with bazel

bazel build examples/test_gflags:test_gflags_main
bazel build examples/test_glog:test_glog_main
bazel build examples/test_gtest:test_gtest_main

4) Run executable files

./bazel-bin/examples/test_gflags/test_gflags_main
./bazel-bin/examples/test_glog/test_glog_main
./bazel-bin/examples/test_gtest/test_gtest_main