From 11819b29176b848b1cd961d811a8086eb58b891a Mon Sep 17 00:00:00 2001 From: Axel Isouard Date: Mon, 6 Feb 2017 20:14:35 +0100 Subject: [PATCH] README.md: Rewrite compatibility table, fix CMake version, add BUILD_SHARED_LIB option --- README.md | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 991794b..0566ae5 100644 --- a/README.md +++ b/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: ``` -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.3) project(sample) find_package(LibWebRTC REQUIRED) @@ -22,37 +22,30 @@ supported platforms and architectures. - - - - - - - + - - - - - - - - + - - + + + + - + + + + + @@ -60,7 +53,7 @@ supported platforms and architectures. ## Prerequisites -- CMake 3.5 or later, +- CMake 3.3 or later, - Python 2.7 (optional for Windows since it will use the interpreter located inside the `depot_tools` installation) @@ -150,6 +143,11 @@ perform cross-compiling. 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** Arguments to pass while executing the `ninja` command. For instance, you can
LinuxmacOSWindowsiOSAndroid
x86 x64 armx86x64x86x64armarm arm64x86x64
Linux
macOS
Windows