mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[godot] No extension editor builds for ios, android, web
This commit is contained in:
parent
f7da1e48ab
commit
0fc80d5b8b
@ -18,7 +18,7 @@ if [ -f "../godot-cpp/dev" ]; then
|
||||
echo "DEV build"
|
||||
fi
|
||||
|
||||
if [ $dev == "true" ]; then
|
||||
if [ $dev == "true" ]; then
|
||||
options="$options dev_build=true"
|
||||
fi
|
||||
|
||||
@ -26,18 +26,18 @@ if [ -z $platform ]; then
|
||||
echo "Platform: current"
|
||||
else
|
||||
echo "Platform: $platform"
|
||||
platform="platform=$platform"
|
||||
platform="platform=$platform"
|
||||
fi
|
||||
|
||||
cpus=2
|
||||
if [ "$OSTYPE" == "msys" ]; then
|
||||
os="windows"
|
||||
cpus=$NUMBER_OF_PROCESSORS
|
||||
cpus=$NUMBER_OF_PROCESSORS
|
||||
elif [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
os="macos"
|
||||
cpus=$(sysctl -n hw.logicalcpu)
|
||||
cpus=$(sysctl -n hw.logicalcpu)
|
||||
if [ `uname -m` == "arm64" ]; then
|
||||
echo "Would do Apple Silicon specific setup"
|
||||
echo "Would do Apple Silicon specific setup"
|
||||
fi
|
||||
else
|
||||
os="linux"
|
||||
@ -47,7 +47,9 @@ fi
|
||||
echo "CPUS: $cpus"
|
||||
|
||||
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_release
|
||||
popd
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user