Turn off SDL3 compilation
This commit is contained in:
@@ -39,9 +39,8 @@ The codebase includes its own:
|
|||||||
Requirements:
|
Requirements:
|
||||||
|
|
||||||
- `clang`
|
- `clang`
|
||||||
- `cmake`
|
|
||||||
- `libbacktrace`
|
- `libbacktrace`
|
||||||
- SDL3 (the build script can clone and install SDL when missing)
|
- `libsdl3`
|
||||||
|
|
||||||
Build commands:
|
Build commands:
|
||||||
|
|
||||||
|
|||||||
24
build.sh
24
build.sh
@@ -9,18 +9,18 @@ if [ -v addr ]; then echo "[address sanitizer build]"; fi
|
|||||||
|
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
|
|
||||||
if [ ! -e "src/external/SDL" ]; then
|
# if [ ! -e "src/external/SDL" ]; then
|
||||||
cd src/external
|
# cd src/external
|
||||||
git clone https://github.com/libsdl-org/SDL.git
|
# git clone https://github.com/libsdl-org/SDL.git
|
||||||
cd SDL
|
# cd SDL
|
||||||
git checkout release-3.2.30
|
# git checkout release-3.2.30
|
||||||
# We need older version of SDL3 because there is a bug on wayland that
|
# # We need older version of SDL3 because there is a bug on wayland that
|
||||||
# doubles click events and it's kind of unusable
|
# # doubles click events and it's kind of unusable
|
||||||
cmake -S . -B build_linux -DSDL_PIPEWIRE=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
# cmake -S . -B build_linux -DSDL_PIPEWIRE=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
|
||||||
cd build_linux
|
# cd build_linux
|
||||||
sudo make -j16 install
|
# sudo make -j16 install
|
||||||
cd ../../../..
|
# cd ../../../..
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user