1 重要的事情
使用git 拉取代码不要下载压缩包,压缩包会缺少git文件夹,需要手动拉取相关子模块。
2 代码位置
https://github.com/boostorg/boost
git clone https://github.com/boostorg/boost.git
git submodule update --init --recursive
3 使用cmake 生成项目
创建build 目录:点击build 按钮后可以自己选择各个选项,看不懂翻译一下就懂了
点Open Project
选择 debug 和release
编译完成后:
vs2019 可视化编译 boost
最新推荐文章于 2023-06-03 21:29:59 发布