[godot] No extension editor builds for ios, android, web

This commit is contained in:
Mario Zechner 2024-12-10 16:08:00 +01:00
parent f7da1e48ab
commit 0fc80d5b8b

View File

@ -18,7 +18,7 @@ if [ -f "../godot-cpp/dev" ]; then
echo "DEV build" echo "DEV build"
fi fi
if [ $dev == "true" ]; then if [ $dev == "true" ]; then
options="$options dev_build=true" options="$options dev_build=true"
fi fi
@ -26,18 +26,18 @@ if [ -z $platform ]; then
echo "Platform: current" echo "Platform: current"
else else
echo "Platform: $platform" echo "Platform: $platform"
platform="platform=$platform" platform="platform=$platform"
fi fi
cpus=2 cpus=2
if [ "$OSTYPE" == "msys" ]; then if [ "$OSTYPE" == "msys" ]; then
os="windows" os="windows"
cpus=$NUMBER_OF_PROCESSORS cpus=$NUMBER_OF_PROCESSORS
elif [[ "$OSTYPE" == "darwin"* ]]; then elif [[ "$OSTYPE" == "darwin"* ]]; then
os="macos" os="macos"
cpus=$(sysctl -n hw.logicalcpu) cpus=$(sysctl -n hw.logicalcpu)
if [ `uname -m` == "arm64" ]; then if [ `uname -m` == "arm64" ]; then
echo "Would do Apple Silicon specific setup" echo "Would do Apple Silicon specific setup"
fi fi
else else
os="linux" os="linux"
@ -47,7 +47,9 @@ fi
echo "CPUS: $cpus" echo "CPUS: $cpus"
pushd .. pushd ..
scons -j $cpus $options $platform target=editor if [ "$platform" != "ios" ] && [ "$platform" != "android" ] && [ "$platform" != "web" ]; then
scons -j $cpus $options $platform target=editor
fi
scons -j $cpus $options $platform target=template_debug scons -j $cpus $options $platform target=template_debug
scons -j $cpus $options $platform target=template_release scons -j $cpus $options $platform target=template_release
popd popd