flatten 20260225
This commit is contained in:
23
resources/packages/basisu/prepare
Executable file
23
resources/packages/basisu/prepare
Executable file
@@ -0,0 +1,23 @@
|
||||
set -x
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
mkdir -p sdk/include
|
||||
|
||||
LIB=basisu
|
||||
|
||||
mkdir $LIB
|
||||
pushd $LIB
|
||||
git clone --depth 1 https://github.com/BinomialLLC/basis_universal --branch v1_60
|
||||
pushd basis_universal
|
||||
cp $DIR/Makefile.project .
|
||||
ln -s $DIR/../../Makefile-template Makefile
|
||||
|
||||
make
|
||||
popd
|
||||
popd
|
||||
|
||||
pushd sdk/include
|
||||
ln -fs ../../$LIB/basis_universal/transcoder basisu
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user