npuichigo / code-base

bazel code base with gflags glog and gtest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

bazel code base with gflags glog and gtest