项目作者: npuichigo
项目描述 :
bazel code base with gflags glog and gtest
高级语言:
项目地址: git://github.com/npuichigo/code-base.git
code-base
Building
Dependencies
- Bazel: for generating compilation targets.
Build steps
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