安装¶
快速上手视频¶
下面的视频演示了如何构建和快速测试 BUtils。
快速开始¶
通过以下指令可以获得一个本项目的副本并且可以在你的本地计算机上运行,用于开发和测试。
前置要求¶
C++ Standard: c++11
Build tools: cmake make autoconf automake gcc
安装¶
$ git clone https://gitlab.com/zhangbolily/BUtils.git BUtils
$ cd BUtils
$ git submodule update --init --recursive
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install
运行测试¶
$ cd build
$ rm -rf ./*
$ cmake -DBUILD_TESTING=ON -DCODE_COVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ..
$ make tests
$ bin/tests