Git clone this repository by
git clone https://github.com/RickAi/MiniPs.git
cd MiniPsCreate a directory for putting compiled files, and configure cmake.
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
See the make list by make help, and make anything in the list by make ${ANYTHING}
cd build/ # cd to the build directory
make -j4 # build all the targets
./HuskyUnitTest # run all unit tests
./HuskyUnitTest --gtest_filter=TestServerThread.RegisterModel # run a specific test
- glog. You may use
GLOG_logtostderr=1 ./HuskyUnitTestto print theLOG(INFO)information to the console. - gtest.
- Actor model
- cmake
- C++ (C++11, multi-threading, std::move, rvalue reference, classes...)
Project details refers to: HERE