premake projects now enable text shaping by default.

This commit is contained in:
Martín Lucas Golini
2026-01-08 19:23:22 -03:00
parent 056c9e022c
commit caebfc4d81
17 changed files with 30 additions and 30 deletions

View File

@@ -34,11 +34,11 @@ done
CONFIG_NAME=
if command -v premake5 &> /dev/null
then
premake5 --with-text-shaper gmake || exit
premake5 gmake || exit
CONFIG_NAME=release_x86_64
elif command -v premake4 &> /dev/null
then
premake4 --with-text-shaper gmake || exit
premake4 gmake || exit
CONFIG_NAME=release
else
echo "Neither premake5 nor premake4 is available. Please install one."

View File

@@ -3,7 +3,7 @@ CANONPATH=$(readlink -f "$0")
DIRPATH="$(dirname "$CANONPATH")"
cd "$DIRPATH" || exit
cd ../../../ || exit
premake5 --with-text-shaper gmake
premake5 gmake
cd make/haiku || exit
make -j"$(nproc)" config=release_x86_64 ecode
cd "$DIRPATH" || exit

View File

@@ -43,11 +43,11 @@ fi
CONFIG_NAME=
if command -v premake4 &> /dev/null
then
premake4 $DEBUG_SYMBOLS --with-text-shaper $STATIC_CPP gmake || exit
premake4 $DEBUG_SYMBOLS $STATIC_CPP gmake || exit
CONFIG_NAME=release
elif command -v premake5 &> /dev/null
then
premake5 $DEBUG_SYMBOLS --with-text-shaper $STATIC_CPP gmake || exit
premake5 $DEBUG_SYMBOLS $STATIC_CPP gmake || exit
CONFIG_NAME=release_"$ARCH"
else
echo "Neither premake5 nor premake4 is available. Please install one."

View File

@@ -22,7 +22,7 @@ done
RESOURCES_PATH="ecode.app/Contents/Resources"
premake5 --file=../../../premake5.lua --disable-static-build --with-text-shaper --use-frameworks gmake || exit
premake5 --file=../../../premake5.lua --disable-static-build --use-frameworks gmake || exit
make -C ../../../make/macosx/ -j$(sysctl -n hw.ncpu) -e verbose=true -e config=release_x86_64 ecode || exit

View File

@@ -4,10 +4,10 @@ cd $(dirname "$0")
USE_ARCH=
if command -v premake4 &> /dev/null
then
premake4 --file=../../premake4.lua --use-frameworks --disable-static-build --with-text-shaper gmake
premake4 --file=../../premake4.lua --use-frameworks --disable-static-build gmake
elif command -v premake5 &> /dev/null
then
premake5 --file=../../premake5.lua --use-frameworks --disable-static-build --with-text-shaper gmake
premake5 --file=../../premake5.lua --use-frameworks --disable-static-build gmake
USE_ARCH=arm64/
else
echo "Neither premake5 nor premake4 is available. Please install one."

View File

@@ -4,10 +4,10 @@ cd $(dirname "$0")
USE_ARCH=
if command -v premake4 &> /dev/null
then
premake4 --file=../../premake4.lua --disable-static-build --with-text-shaper gmake
premake4 --file=../../premake4.lua --disable-static-build gmake
elif command -v premake5 &> /dev/null
then
premake5 --file=../../premake5.lua --disable-static-build --with-text-shaper gmake
premake5 --file=../../premake5.lua --disable-static-build gmake
USE_ARCH=arm64
else
echo "Neither premake5 nor premake4 is available. Please install one."

View File

@@ -52,7 +52,7 @@ elif [[ "$CONFIG" == *"arm64"* && "$(uname -m)" == "x86_64" ]]; then
fi
fi
PREMAKE5_ARGS="--file=../../premake5.lua --os=windows --cc=mingw --windows-mingw-build --with-text-shaper $PREMAKE5_ARCH gmake"
PREMAKE5_ARGS="--file=../../premake5.lua --os=windows --cc=mingw --windows-mingw-build $PREMAKE5_ARCH gmake"
if command -v premake5 &> /dev/null
then

View File

@@ -20,7 +20,7 @@ $archSuffix = if ($isArm64) { "arm64" } else { "x86_64" }
$premakeExtra = if ($isArm64) { "--arch=arm64" } else { "" }
$msbuildPlat = if ($isArm64) { "ARM64" } else { "x64" }
& $premakeCmd --windows-vc-build --with-text-shaper $(if ($premakeExtra) { $premakeExtra }) --disable-static-build vs2022
& $premakeCmd --windows-vc-build $(if ($premakeExtra) { $premakeExtra }) --disable-static-build vs2022
& "$env:MSBUILD_PATH/MSBuild.exe" .\make\windows\eepp.sln -m /t:ecode /p:Platform=$msbuildPlat /p:Configuration=release
.\projects\scripts\copy_ecode_assets.ps1 .\bin .\projects\windows\ecode\ecode