1.CMake大法
https://www.jianshu.com/p/fa5a4997bb61?from=timeline&isappinstalled=0
https://www.imooc.com/article/27041?block_id=tuijian_wz
https://cloud.tencent.com/developer/article/1372506
https://www.jianshu.com/p/fe91f0b69a04
优雅构建cmake
https://segmentfault.com/a/1190000022075547
2.MK 大法
https://seisman.github.io/how-to-write-makefile/overview.html
https://edu.csdn.net/course/detail/3610
3.vs大法
https://blog.csdn.net/luoyu510183/article/details/94590497
https://blog.csdn.net/wyq1153/article/details/54264953
注意:vs有个坑
链接器-》输入 里面 so库只能用libxxx.so **!!!不能带上它的路径!!!!**eg."D:\xx\xxx\release\xxx.so"这种
用的是时候会各种报错xxx.so flopen faild,not found,
标准vs使用依赖库 需要:
第一步 使用链接器->附加库目录 配置依赖库所在目录
第二步 链接器->链接库 使用-m+库名的方式引入
就不会 有以上问题