libuv windows编译
准备
- git
https://git-scm.com/downloads - cmake
https://cmake.org/download - visual studio
https://visualstudio.microsoft.com/zh-hans/downloads - libuv源码
git clone https://github.com/libuv/libuv.git
使用cmake编译
git checkout v1.48.0
cmake -A x64 -G "Visual Studio 17 2022" -Bbuild -DBUILD_TESTING=ON -DCMAKE_INSTALL_PREFIX=sdk .
cmake --build build --config Release -j
cmake --build build --target install
将会安装在源码目录下的sdk目录中

浙公网安备 33010602011771号