WebRTC is a bitch to build. This repo current contains a script to build automate the building/patching required for it to work with Spitfire.
Building is also slow and will use up all the CPU and network bandwidth on every device in your home, so have fun doing nothing while you contemplate why we're here to suffer.
Run build.ps1 from the root of checked out repository and the build will take care of the process. The steps include:
- Download and setup of Google Depot Tools in the case they are not available in the system; you would probably want to have them installed upfront
- Check out of webrtc repo at head of branch defined at the top of build.ps1 file (e.g. "m79")
- Toolchain update for build steps below
- Patching of webrtc and its Windows build configuration for .NET friendly build (dynamic CRT, use of standard
std
, C++/CLI friendliness) - Ninja build of 32/64 Debug/Release configurations of webrtc
- Extraction of .H and .LIB files for use with in external projects (namely Spitfire)