mirror of
https://github.com/nyanmisaka/mpp.git
synced 2026-01-24 02:50:38 +01:00
[cmake]: add codec option
Use mpp/codecs.cmake to enable/disable codecs in order to reduce library size. All decoder and encoder can be disbaled now. Default all open. Change-Id: I3307460df12f2f3fc82898d823ab2da12002d6c6 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
parent
2ee1843c54
commit
30c6bd08c1
28 changed files with 479 additions and 287 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
# Run this from within a bash shell
|
||||
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_TOOLCHAIN_FILE=./arm.linux.cross.cmake \
|
||||
-DCMAKE_RKPLATFORM_ENABLE=ON \
|
||||
cmake -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_TOOLCHAIN_FILE=./arm.linux.cross.cmake \
|
||||
-DCMAKE_RKPLATFORM_ENABLE=ON \
|
||||
-G "Unix Makefiles" \
|
||||
../../../ && cmake --build .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue