Update your apt repo
sudo apt-get updateInstall all these packages used for building.
sudo apt-get install \
ca-certificates \
build-essential \
curl \
ninja-build \
meson \
git \
nasm \
openssl \
pkg-config \
cmake \
libssl-dev \
libpng-dev \
zlib1g-dev \
libx264-dev \
libx265-dev \
libvpx-dev \
libopenjp2-7-dev \
libssl-dev \
gifsicle \
optipngYou will also need the rust compiler
curl https://sh.rustup.rs -sSf | bash -s -- -yTo fetch them do
git submodule sync && git submodule update --initThen run to build all the submodules, this will take a long time.
make externalNow that everything else is installed you can simply run this to build the application.
makeThe output folder should be created in ./out
If you wish to clean up you can run
make cleanthis will clean the application build, if you want to clean all submodule build you must run
make external_cleanThe formatters we use are clang-format and cmake-format
sudo apt-get install clang-formatpip3 install cmake-format