The goal of webrtcbuilds is to provide a single standalone static library and package for WebRTC.
./build.sh
to build the latest version of WebRTC.
Or with options.
Usage:
./build.sh [OPTIONS]
OPTIONS:
-h Show this message
-d Debug mode. Print all executed commands.
-o OUTDIR Output directory. Default is 'out'
-b BRANCH Latest revision on git branch. Overrides -r. Common branch names are 'branch-heads/nn', where 'n' 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'.
-n CONFIGS Build configurations, space-separated. Default is 'Debug Release'. Other values can be 'Debug', 'Release'.
-e Compile WebRTC with RTTI enabled. Default is with RTTI not enabled.
-g [Linux] Compile 'Debug' WebRTC with iterator debugging disabled. Default is enabled but it might add significant overhead.
-D [Linux] Generate a debian package
-F PATTERN Allow customize package filename through a pattern
-P PATTERN Allow customize package name through a pattern
-V PATTERN Allow customize package version through a pattern
The PATTERN is a string that can use the following tokens:
%p% The system platform.
%to% Target os.
%tc% Target cpu.
%b% The branch if it was specified.
%r% Revision.
%sr% Short revision.
%rn% The associated revision number.
%da% Debian architecture.
out/webrtcbuilds-<rev>-<sha>-<target-os>-<target-cpu>.zip
where <rev>
is the revision number of the commit, <sha>
is the short git SHA
of the commit, and <target-os>-<target-cpu>
is the OS (linux, mac, win) and
CPU (x64, x86) of the target environment.
Wiki: https://github.com/vsimon/webrtcbuilds/wiki
Mailing List: http://groups.google.com/group/webrtcbuilds