git下使用命令行如下:
mkdir webrtc-checkout
cd webrtc-checkout
fetch --nohooks webrtc
gclient sync
git checkout -b (随便命名) refs/remotes/branch-heads/(指定版本号)
gclient sync
例如:
git checkout -b mine refs/remotes/branch-heads/m74
gclient sync
git branch -a
历史版本可能需要老VS。会有如下打印:
为了保证正常下载,可以查看vs_toolchain.py文件是否支持新版本。
若支持,直接配置GYP_MSVS_VERSION系统变量就好。