vs2022配置vcpkg:
VCPKG是微软 C++ 团队开发的适用于 C 和 C++ 库的跨平台开源软件包管理器,它大大简化了 Windows、Linux 和 macOS 上第三方库相关的下载和配置操作
git clone https://github.com/microsoft/vcpkg
./vcpkg/bootstrap-vcpkg.bat
vcpkg integrate install
将vcpkg添加到环境变量中
类似"<openssl/sha.h>", 可以使用 vcpkg install openssl:x64-windows
x64-windows表示安装64位windows版本的openssl
参考:
https://zhuanlan.zhihu.com/p/430835667
https://blog.iyatt.com/?p=3353
https://www.10sxj.com/post/55.html
https://blog.csdn.net/qq_42688495/article/details/125333589
https://zhuanlan.zhihu.com/p/615585442