mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 03:15:11 +00:00
README.md: Rewrite compatibility table, fix CMake version, add BUILD_SHARED_LIB option
This commit is contained in:
parent
dfaeab6dfa
commit
11819b2917
1 changed files with 18 additions and 20 deletions
38
README.md
38
README.md
|
|
@ -4,7 +4,7 @@ This repository contains a collection of CMake scripts to help you embed
|
||||||
Google's native WebRTC implementation inside your project as simple as this:
|
Google's native WebRTC implementation inside your project as simple as this:
|
||||||
|
|
||||||
```
|
```
|
||||||
cmake_minimum_required(VERSION 3.0)
|
cmake_minimum_required(VERSION 3.3)
|
||||||
project(sample)
|
project(sample)
|
||||||
|
|
||||||
find_package(LibWebRTC REQUIRED)
|
find_package(LibWebRTC REQUIRED)
|
||||||
|
|
@ -22,37 +22,30 @@ supported platforms and architectures.
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th colspan="3">Linux</th>
|
<td align="center"></td>
|
||||||
<th colspan="2">macOS</th>
|
|
||||||
<th colspan="2">Windows</th>
|
|
||||||
<th colspan="1">iOS</th>
|
|
||||||
<th colspan="4">Android</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td align="center">x86</td>
|
<td align="center">x86</td>
|
||||||
<td align="center">x64</td>
|
<td align="center">x64</td>
|
||||||
<td align="center">arm</td>
|
<td align="center">arm</td>
|
||||||
<td align="center">x86</td>
|
|
||||||
<td align="center">x64</td>
|
|
||||||
<td align="center">x86</td>
|
|
||||||
<td align="center">x64</td>
|
|
||||||
<td align="center">arm</td>
|
|
||||||
<td align="center">arm</td>
|
|
||||||
<td align="center">arm64</td>
|
<td align="center">arm64</td>
|
||||||
<td align="center">x86</td>
|
|
||||||
<td align="center">x64</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th align="center">Linux</th>
|
||||||
<td align="center">✔</td>
|
<td align="center">✔</td>
|
||||||
<td align="center">✔</td>
|
<td align="center">✔</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="center">✔</td>
|
</tr>
|
||||||
<td align="center">✔</td>
|
<tr>
|
||||||
|
<th align="center">macOS</th>
|
||||||
|
<td></td>
|
||||||
<td align="center">✔</td>
|
<td align="center">✔</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th align="center">Windows</th>
|
||||||
|
<td align="center">✔</td>
|
||||||
|
<td align="center">✔</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
@ -60,7 +53,7 @@ supported platforms and architectures.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- CMake 3.5 or later,
|
- CMake 3.3 or later,
|
||||||
- Python 2.7 (optional for Windows since it will use the interpreter located
|
- Python 2.7 (optional for Windows since it will use the interpreter located
|
||||||
inside the `depot_tools` installation)
|
inside the `depot_tools` installation)
|
||||||
|
|
||||||
|
|
@ -150,6 +143,11 @@ perform cross-compiling.
|
||||||
|
|
||||||
Build WebRTC tests. (not supported yet)
|
Build WebRTC tests. (not supported yet)
|
||||||
|
|
||||||
|
- **BUILD_SHARED_LIB**
|
||||||
|
|
||||||
|
Defaults to OFF, will define the `component_build` gn argument to `true` if
|
||||||
|
enabled. This option will build a shared library instead of a static one.
|
||||||
|
|
||||||
- **NINJA_ARGS**
|
- **NINJA_ARGS**
|
||||||
|
|
||||||
Arguments to pass while executing the `ninja` command. For instance, you can
|
Arguments to pass while executing the `ninja` command. For instance, you can
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue