SuperCLine / log

This c++ project is configurable multithreading log system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

log

This c++ project is configurable multithreading log system.

官网

Get Code

1. get build project

git clone https://github.com/SuperCLine/cmake_cline.git

2. get core project

cd cmake_cline
git clone https://github.com/SuperCLine/core.git

3. get log project

git clone https://github.com/SuperCLine/log.git

4. get external jsoncpp

git submodule update --init --recursive

Build on centos

sh Build.sh

Build on windows

using cmake gui and visual studio 2017

Installation requirements

1. CMAKE 3.15.0

wget https://cmake.org/files/v3.15/cmake-3.15.0.tar.gz 
tar xzvf cmake-3.15.0.tar.gz
cd cmake-3.15.0
./bootstrap
gmake
make install
cmake --version
hash -r
cmake --version

2. upgrade gcc to 7.3 to support c++ 17

yum -y install centos-release-scl
yum -y install devtoolset-7-gcc devtoolset-7-gcc-c++ devtoolset-7-binutils
scl enable devtoolset-7 bash

About

This c++ project is configurable multithreading log system.

License:GNU General Public License v3.0


Languages

Language:C++ 84.6%Language:CMake 9.1%Language:C 6.4%