Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leetal/webrtcbuild

Build a static mega-lib of webrtc for a multitude of platforms (UNIX, Windows, OS X. Including iOS and Android)
https://github.com/leetal/webrtcbuild

Last synced: 4 months ago
JSON representation

Build a static mega-lib of webrtc for a multitude of platforms (UNIX, Windows, OS X. Including iOS and Android)

Awesome Lists containing this project

README

        

# Webrtcbuilds

The goal of webrtcbuilds is to provide a single standalone static library and
package for WebRTC.

## Current Platforms and Prerequisites

* OSX (highly recommend [Homebrew](http://brew.sh/) is installed)
* Windows (highly recommend [Visual Studio Community 2013]
(http://www.chromium.org/developers/how-tos/build-instructions-windows) at least
and a [Bash shell such as Git for Windows](https://msysgit.github.io) is
installed)
* Linux (tested on Ubuntu 16.04 64-bit)

## How to run

`./build.sh` to build the latest version of WebRTC.

Or with options.

```bash
Usage:
./build.sh [OPTIONS]

WebRTC build script.

OPTIONS:
-h Show this message
-d Build debug version of WebRTC.
-p Package for release.
-o OUTDIR Output directory. Default is 'out'
-b BRANCH Latest revision on git branch. Overrides -r. Common branch names are 'branch-heads/nn', where 'nn' is the release number.
-r REVISION Git SHA revision. Default is latest revision.
-t TARGET OS The target os for cross-compilation. Default is the host OS such as 'linux', 'mac', 'win'. Other values can be 'android', 'ios'.
-c TARGET CPU The target cpu for cross-compilation. Default is 'x64'. Other values can be 'x86', 'arm64', 'arm'.
-l BLACKLIST Blacklisted *.o objects to exclude from the static library.
-e Compile WebRTC with RTTI enabled.
-n Compile WebRTC with Bitcode enabled (iOS/OS X only).
-s Skip building.
-z Zip the output.
```

## Where is the package

`out/webrtcbuilds----.zip`
where `` is the revision number of the commit, `` is the short git SHA
of the commit, and `-` is the OS (linux, mac, win) and
CPU (x64, x86) of the target environment.

## Documentation

Wiki: https://github.com/vsimon/webrtcbuilds/wiki

Mailing List: http://groups.google.com/group/webrtcbuilds