nevermoreluo
6 天前
搞了一下午,我感觉不是拿什么传输的问题,如果上一个人依赖没管理好我甚至觉得是正常现象。
打个比方啊,拿有包管理的 npm 打个比方吧,你再稍微想象一下 c++没有包管理,你要自己构建的依赖情况
```
npm install https://127.0.0.1:3021/user/json1.git # 7 years ago may build with vs2005 ,like maybe node-gyp dep python2
npm install https://127.0.0.1:3023/user/json2.git # 5 years ago may build with vs2012, like node-gyp dep python3
# where is the https://127.0.0.1:3021/user/json1?
# wait what the f**k with json1 and json2? vs2005? they still make you?
"scripts": {
"build": ...,
"pre-build" : "rsync D:/foo/bar/json E:/foo/bar/json3" # windows rsync, it's really cool! you made it mo**f**ker, but where is the f**king D:/foo/bar/json?
}
```
上面这些都是有依据可循的,在 vs 或者 qt 的配置里面你可能要在各个角落里面找到它们
或者会遇到 qmake ,cmake ,xmake ,vcpkg ,canon ,bazel 甚至混用的。。。
在这里再次感谢 npm ,pip ,nuget, cargo