mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-08 02:20:06 +08: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:
@@ -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 .
|
||||
|
Reference in New Issue
Block a user