william

Keep Calm and Markdown.

cmake 要点总结

调试通过 CMAKE_BUILD_TYPE 可以设置条件编译,执行生成可供调试的程序,这个相当于在命令行使用 1 cmake .. -DCMAKE_BUILD_TYPE=Debug 1 2 3 4 5 ## 调试状态 set(CMAKE_BUILD_TYPE Debug) ## 发布状态 set(CMAKE_BUILD_TYPE Release) 头文件包含 inclu

Unix Network Programming 代码学习

网络编程的圣经

Chap.0 安装源代码

安装步骤

1
2
3
4
5
6
7
8
9
## git clone git@github.com:williamlfang/unix-network-programming-v3.git
cd unix-network-programming-v3-master
./configure

cd lib         # build the basic library that all programs need
make           # use "gmake" everywhere on BSD/OS systems

cd ../libfree  # continue building the basic library
make
0%