forked from chenshuo/muduo-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
32 lines (26 loc) · 646 Bytes
/
README
File metadata and controls
32 lines (26 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 ./