Move stbtt to it's own

This commit is contained in:
H. Utku Maden 2023-07-09 16:44:49 +03:00
parent 03c477e98f
commit afd73d1622
8 changed files with 17 additions and 24 deletions

3
Quik.StbImage/build_native.sh Executable file

@ -0,0 +1,3 @@
#!/bin/bash
cd $(dirname "$0")
../sh/quik_build_native.sh .

@ -1,19 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Quik.StbTrueType.redist</id>
<version>1.0.0</version>
<authors>STBTT Authors, H. Utku Maden</authors>
<owners>utkumaden</owners>
<description>
This is a redistribution of STBTT for use with the QUIK project.
Compiled with a custom assert function. Call `quik_stbtt_failed_assert_store`
to replace.
</description>
<tags>native</tags>
</metadata>
<files>
<file src="runtimes/" target="runtimes"/>
</files>
</package>

@ -0,0 +1,3 @@
#!/bin/bash
cd $(dirname "$0")
../sh/quik_build_native.sh .

@ -1,5 +0,0 @@
#!/bin/bash
ARCHS="linux-arm linux-arm64 linux-x64 linux-x86 win-x64 win-x86"
sh/quik_build_native.sh "Quik.StbImage" "$ARCHS"
./quik_build_native.sh "Quik.StbTrueType.redist" "$ARCHS"

@ -7,6 +7,17 @@ SRC=$1
NAME=$(dirname $SRC)
ARCHS=$2
if [ -z "$SRC" ]
then
echo You need to provide a source path.
return
fi
if [ -z "$ARCHS" ]
then
ARCHS="linux-arm linux-arm64 linux-x64 win-x64 win-x86"
fi
cd $SRC
for ARCH in $ARCHS; do