A Cross-Platform LIBrary of Network APplication tools
$ git clone https://github.com/staticn/libnap.git
$ cd ./libnap
$ make
$ make install
如果编译成功,项目目录下output文件夹里会有静态链接库文件
$ git clone https://github.com/staticn/libnap.git
$ cd ./libnap/win
$ ./libnap.sln
如果编译成功,则项目目录下的output文件夹将具有静态链接库文件和头文件。
make / make all : 编译libnap 编译测试文件 并运行测试
make build : 编译libnap 编译测试文件
make test : 编译测试文件
make libnap : 编译libnap
make clean : 清除编译的文件
make fast : 启用多核快速安静编译
Visual Studio 2019
Windows SDK Version >= 10.0
G++ Version >= 4.8.5
Make Version >= 3.8