ReFuel.FreeType/build_native.sh
H. Utku Maden 6367996b66
All checks were successful
Build / build (push) Successful in 31s
Fix permissions.
2024-04-04 23:30:40 +03:00

25 lines
837 B
Bash
Executable File

#!/bin/bash
cd $(dirname "$0")
CMAKE_DIR="$PWD/Quik.Common/cmake"
NOINSTALL=1
QUIK_ADDITIONAL_CMAKE="-D BUILD_SHARED_LIBS=true -D NO_SONAME=true"
./Quik.Common/sh/quik_build_native.sh "$PWD/freetype"
# Copy out natives from their respective directories into runtimes
mkdir -p \
./runtimes/linux-arm/native \
./runtimes/linux-arm64/native \
./runtimes/linux-x64/native \
./runtimes/win-x64/native \
./runtimes/win-x86/native
cp ./out/linux-arm/libfreetype.so runtimes/linux-arm/native/libfreetype.so
cp ./out/linux-arm64/libfreetype.so runtimes/linux-arm64/native/libfreetype.so
cp ./out/linux-x64/libfreetype.so runtimes/linux-x64/native/libfreetype.so
cp ./out/win-x64/libfreetype.dll runtimes/win-x64/native/libfreetype.dll
cp ./out/win-x86/libfreetype.dll runtimes/win-x86/native/libfreetype.dll
dotnet build