Friction SDK used to build and maintain binaries for supported platforms.
Run build_linux.sh
.
- Docker
BUILD_ENGINE
=OFF
/ON
(default isOFF
)- Build skia engine or use prebuilt
REL
=0
/1
(default is0
)- Only use for official releases
BRANCH
=<branch>
(default ismain
)COMMIT
=<commit>
(default is none)TAG
=<tag>
(default is none)CUSTOM
=<extra version string>
(default is none)MKJOBS
=<threads>
(default is4
, only used when building SDK)ONLY_SDK
=0
/1
(default is0
)- Just build the SDK
LOCAL_BUILD
=0
/1
(default is1
)- Run local built docker container
DOWNLOAD_SDK
=0
/1
(default is1
)- Use a prebuilt SDK
FFmpeg for Windows is built using MXE on Linux or macOS using the MinGW toolchain (this is the only component that uses MinGW, the rest is MSVC).
- Linux/macOS
- https://mxe.cc/#requirements
git clone https://github.com/friction2d/mxe
cd mxe
../build_mxe_ffmpeg.sh