Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/chenshuo/muduo-tutorial

Tutorial of Muduo network library
https://github.com/chenshuo/muduo-tutorial

Last synced: 3 months ago
JSON representation

Tutorial of Muduo network library

Lists

README

        

Examples of Muduo network library

0) src - source file
1) bazel - build with Bazel
2) cmake-submodule - build with CMake, checking out muduo as a git submodule
3) cmake - build with CMake
2) makefile - build with Makefile

1) build with bazel
cd bazel
bazel build -c opt :all

2) build with CMake with git submodule
git submodule update --init
mkdir build
cd build
cmake ../cmake-submodule
make

Assuming Muduo is installed in $HOME/build/debug-install

3) build with CMake
mkdir build
cd build
cmake ../cmake
make
# echo binary is in ./bin/

4) build with GNU make
cd makefile
make
# echo binary is in ./