项目作者: npuichigo

项目描述 :
bazel code base with gflags glog and gtest
高级语言:
项目地址: git://github.com/npuichigo/code-base.git
创建时间: 2017-01-28T06:04:40Z
项目社区:https://github.com/npuichigo/code-base

开源协议:

下载


code-base

Building

Dependencies

  • Bazel: for generating compilation targets.

Build steps

1) Install Bazel build tool

2) Check-Out this project

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

3) Build with bazel

  1. bazel build examples/test_gflags:test_gflags_main
  2. bazel build examples/test_glog:test_glog_main
  3. bazel build examples/test_gtest:test_gtest_main

4) Run executable files

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