mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
premake projects now enable text shaping by default.
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user