summaryrefslogtreecommitdiff
path: root/env/build_cmds.txt
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2026-08-26 15:08:16 -0400
committerAndrew Opalach <andrew@akon.city> 2026-08-26 15:08:16 -0400
commit6094c907b26e21f13373bae6bf3306dbae40af3c (patch)
tree981864ddb1ab9749d3e10a81edc782311826e101 /env/build_cmds.txt
parentda9bddc70ff8544f3294b880d719c4605e87ad97 (diff)
downloadcamu-6094c907b26e21f13373bae6bf3306dbae40af3c.tar.gz
camu-6094c907b26e21f13373bae6bf3306dbae40af3c.tar.bz2
camu-6094c907b26e21f13373bae6bf3306dbae40af3c.zip
Update deps, small changes and cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'env/build_cmds.txt')
-rw-r--r--env/build_cmds.txt50
1 files changed, 24 insertions, 26 deletions
diff --git a/env/build_cmds.txt b/env/build_cmds.txt
index 06dab23..896ba55 100644
--- a/env/build_cmds.txt
+++ b/env/build_cmds.txt
@@ -1,39 +1,37 @@
# Testing
-meson setup build -Dserver=enabled -Dclient=enabled -Dportal=enabled -Dtests=enabled \
- --force-fallback-for=libplacebo
+meson setup build -Dfruits=cmsrv,cmc,cmv \
+ -Dportal=enabled -Dtests=enabled --force-fallback-for=libplacebo
# Android
-meson setup build-android -Dserver=disabled -Drenderer-api=gl -Dwindow=glfm \
- -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=mediacodec -Dtests=disabled \
- --cross-file ./cross/aarch64-linux-android.txt --default-library=static
+meson setup build-android -Dfruits=cmv \
+ -Dsources=file,http -Dcodec-hwaccels=mediacodec \
+ --cross-file ./cross/aarch64-linux-android.txt \
+ --default-library=static
# MingW DX11 (Preferred)
-meson setup build-mingw64-dx11 -Drenderer-api=dx11 -Drenderer=libplacebo -Dwindow=win32 \
- -Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
- -Dsources=file -Dcodecs=ffmpeg -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=d3d11va -Dsubtitles=enabled \
- -Dtests=disabled -Dwin32-compat=false --cross-file ./cross/x86_64-w64-mingw32.txt \
- --default-library=static --strip --buildtype=release -Ddebug=false --optimization=s -Db_lto=true
+meson setup build-mingw64-dx11 -Dfruits=cmv \
+ -Dcodecs=ffmpeg -Dcodec-hwaccels=d3d11va \
+ --cross-file ./cross/x86_64-w64-mingw32.txt \
+ --default-library=static --buildtype=release --optimization=s -Db_lto=true
# MingW Vulkan
-meson setup build-mingw64-vulkan -Drenderer-api=vulkan -Drenderer=libplacebo -Dwindow=win32 \
- -Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
- -Dsources=file -Dcodecs=ffmpeg,stb_image -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=vulkan -Dsubtitles=enabled \
- -Dtests=disabled -Dwin32-compat=false --cross-file ./cross/x86_64-w64-mingw32.txt \
- --default-library=static --strip --buildtype=release -Ddebug=false --optimization=2
+meson setup build-mingw64-vulkan -Dfruits=cmv \
+ -Drenderer-api=vulkan -Dcodecs=ffmpeg -Dcodec-hwaccels=vulkan \
+ --cross-file ./cross/x86_64-w64-mingw32.txt \
+ --default-library=static --buildtype=release --optimization=2
# Windows XP 32bit Support.
-meson setup build-mingw32-min -Drenderer-api=gl -Drenderer=momo -Dwindow=win32 \
- -Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
- -Dsources=file -Dcodecs=ffmpeg -Dcodec-ffmpeg-version=3 -Dsubtitles=enabled \
- -Dtests=disabled -Dwin32-compat=true --cross-file ./cross/i686-w64-mingw32.txt \
- --default-library=static --strip --buildtype=release -Ddebug=false --optimization=s -Db_lto=true
+meson setup build-mingw32-min -Dfruits=cmv \
+ -Drenderer-api=gl -Drenderer=momo -Dcodecs=ffmpeg -Dcodec-ffmpeg-version=3 \
+ -Dwin32-compat=true --cross-file ./cross/i686-w64-mingw32.txt \
+ --default-library=static --buildtype=release --optimization=s -Db_lto=true
# ASan
-meson setup build-asan --buildtype=debug -Db_sanitize=address -Db_lundef=false \
- -Dclient=enabled -Dportal=enabled -Dtests=enabled \
- -Dcodecs=ffmpeg,wuffs,stb_image --force-fallback-for=libplacebo
+meson setup build-asan -Dfruits=cmsrv,cmc,cmv \
+ -Dportal=enabled -Dtests=enabled --force-fallback-for=libplacebo \
+ --buildtype=debug -Db_sanitize=address -Db_lundef=false
# UBSan
-meson setup build-ubsan --buildtype=debug -Db_sanitize=undefined -Db_lundef=false \
- -Dclient=enabled -Dportal=enabled -Dtests=enabled \
- -Dcodecs=ffmpeg --force-fallback-for=libplacebo
+meson setup build-ubsan -Dfruits=cmsrv,cmc,cmv \
+ -Dportal=enabled -Dtests=enabled --force-fallback-for=libplacebo \
+ --buildtype=debug -Db_sanitize=undefined -Db_lundef=false