README.md 1.66 KB
Newer Older
1 2
# LINPHONE CMAKE BUILDER #

Ghislain MARY's avatar
Ghislain MARY committed
3 4
Linphone CMake builder is a structure based on CMake to build linphone and
flexisip on various platforms.
5 6 7 8

## BUILD PREREQUISITES

The common prerequisites to use linphone-cmake-builder are:
Ghislain MARY's avatar
Ghislain MARY committed
9
- to intall CMake >= 3.0 (available in the package systems of Linux 
10 11 12 13
distributions, in MacPorts for Mac OS X (http://www.macports.org/) and/or from 
http://cmake.org/
- to install git (available in the package systems of Linux distributions, in 
MacPorts for Mac OS X (http://www.macports.org/) and/or from http://cmake.org/
Ghislain MARY's avatar
Ghislain MARY committed
14 15
- on Windows, you also need 7-zip to generate SDK packages
(http://www.7-zip.org/)
16 17 18 19

## AVAILABLE BUILD TARGETS

The following targets are supported:
Ghislain MARY's avatar
Ghislain MARY committed
20 21 22
- Linphone for desktop platforms - see README.desktop.md
- Liblinphone Python extension module - see README.python.md
- Liblinphone Python extension module for Raspberry PI
23
- Flexisip and dependencies - see README.flexisip.md
Ghislain MARY's avatar
Ghislain MARY committed
24 25 26 27 28
- Linphone for iOS - see README.ios.md

## GETTING HELP ON BUILD OPTIONS WHATEVER THE BUILD TARGET IS

	$ ./prepare.py --help
29 30 31 32

## OpenH264 support
OpenH264 support is enabled in all generated installers and SDK archive.
However, the OpenH264 runtime library must be downloaded directly from
Ghislain MARY's avatar
Ghislain MARY committed
33 34 35 36 37 38 39 40
Cisco's website to be complient with H264 patents. In the case of linphone
for desktop, it is automatically done by the Windows and MacOS X installers.
In the case of SDKs of liblinphone and mediastreamer, you must manualy
download the OpenH264 archive and extract it in the "bin" directory of the SDK
distribution and rename the DLL file into "openh264.dll".

The patent-free OpenH264 runtime library archive is available at
http://ciscobinary.openh264.org/openh264-1.4.0-win32msvc.dll.bz2