Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.09 KB

cmake.md

File metadata and controls

35 lines (25 loc) · 1.09 KB

Customize Build Process:

You can use the following build options to customize the build process:

  • BUILD_MP3LAME: Set to ON (default) to build the libmp3lame in the docker images, or OFF to disable including libmp3lame in the docker images.
  • BUILD_FDKAAC: Set to ON (default) to build the libfdk_aac in the docker images, or OFF to disable including libfdk_aac in the docker images.
  • ONLY_DOCKERFILES: Set to ON to update the Dockerfiles only without actually building them, or OFF (default) to update and build the Dockerfiles.

Build examples:

cd build
cmake -DBUILD_MP3LAME=ON ..
cd build
cmake -DBUILD_FDKAAC=ON -DBUILD_MP3LAME=OFF ..

Use Alternative Repo:

Certain source repo might be blocked in certain network. You can specify alternative repos before the build command as follows:

export AOM_REPO=...       
export VPX_REPO=...     
make

For a list of all REPOs and their versions, run the following command:

grep -E '_(REPO|VER)=' template/*.m4