webm_parser: Update README build instructions

Change-Id: Iade055ff076b107ac1665493dad18e812025c31f
This commit is contained in:
Michael Bradshaw 2016-09-01 15:52:18 -07:00
parent 5023f2b5ca
commit e15e8f2cc7

View File

@ -17,11 +17,17 @@ parsed.
# Building # Building
CMake support will be be added, but for now the parser may be build into a CMake support has been added to the root libwebm `CMakeLists.txt` file. Simply
static library using the following commands: enable the `ENABLE_WEBM_PARSER` feature if using the interactive CMake builder,
or alternatively pass the `-DENABLE_WEBM_PARSER:BOOL=ON` flag from the command
line. By default, this parser is not enabled when building libwebm, so you must
explicitly enable it.
Alternatively, the following illustrates the minimal commands necessary to
compile the code into a static library without CMake:
```.sh ```.sh
c++ -Iinclude -std=c++11 -c src/*.cc c++ -Iinclude -I. -std=c++11 -c src/*.cc
ar rcs libwebm.a *.o ar rcs libwebm.a *.o
``` ```