GitHub - chenshuo/muduo-tutorial: Tutorial of Muduo network library (original) (raw)

Examples of Muduo network library

  1. src - source file

  2. bazel - build with Bazel

  3. cmake-submodule - build with CMake, checking out muduo as a git submodule

  4. cmake - build with CMake

  5. makefile - build with Makefile

  6. build with bazel cd bazel bazel build -c opt :all

  7. 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

  1. build with CMake mkdir build cd build cmake ../cmake make

echo binary is in ./bin/

  1. build with GNU make cd makefile make

echo binary is in ./