tibia/ios

This commit is contained in:
Stefano D'Angelo 2024-02-05 16:34:22 +01:00
parent 4ff4ceed70
commit 684f021476
10 changed files with 66 additions and 3 deletions

View File

@ -0,0 +1,14 @@
{
"ios_make": {
"headerSearchPaths": [
"../../../../../../miniaudio",
"../../../../common/src",
"../../../../../include"
],
"deploymentTarget": 16.6,
"commonDir": "../../common/ios",
"pluginDir": "../../common/src/cxx",
"cSrcs": "../../common/src/cxx/impl.h",
"cxxSrcs": "../src/impl.cpp"
}
}

View File

@ -0,0 +1,12 @@
{
"ios_make": {
"headerSearchPaths": [
"../../../../../../miniaudio",
"../../../../common/src",
"../../../../../include"
],
"deploymentTarget": 16.6,
"commonDir": "../../common/ios",
"pluginDir": "../src"
}
}

View File

@ -0,0 +1,5 @@
{
"ios": {
"productBundleIdentifier": "com.orastron.fx_ap1"
}
}

View File

@ -0,0 +1,5 @@
{
"ios": {
"productBundleIdentifier": "com.orastron.fx_ap2"
}
}

View File

@ -0,0 +1,5 @@
{
"ios": {
"productBundleIdentifier": "com.orastron.fx_balance"
}
}

View File

@ -0,0 +1,5 @@
{
"ios": {
"productBundleIdentifier": "com.orastron.fxpp_ap1"
}
}

View File

@ -0,0 +1,5 @@
{
"ios": {
"productBundleIdentifier": "com.orastron.fxpp_ap2"
}
}

View File

@ -0,0 +1,5 @@
{
"ios": {
"productBundleIdentifier": "com.orastron.fxpp_balance"
}
}

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
TIBIA_DIR=~/repos/tibia TIBIA_DIR=../../../tibia
echo Generating common files echo Generating common files
@ -23,6 +23,9 @@ cd common && $TIBIA_DIR/tibia --common $TIBIA_DIR/templates/vst3-make vst3 && cd
cd common && $TIBIA_DIR/tibia --common $TIBIA_DIR/templates/android android && cd .. cd common && $TIBIA_DIR/tibia --common $TIBIA_DIR/templates/android android && cd ..
cd common && $TIBIA_DIR/tibia --common $TIBIA_DIR/templates/android-make android && cd .. cd common && $TIBIA_DIR/tibia --common $TIBIA_DIR/templates/android-make android && cd ..
cd common && $TIBIA_DIR/tibia --common $TIBIA_DIR/templates/ios ios && cd ..
cd common && $TIBIA_DIR/tibia --common $TIBIA_DIR/templates/ios-make ios && cd ..
dirs="fx_ap1 fx_ap2 fx_balance fxpp_ap1 fxpp_ap2 fxpp_balance" dirs="fx_ap1 fx_ap2 fx_balance fxpp_ap1 fxpp_ap2 fxpp_balance"
for d in $dirs; do for d in $dirs; do
@ -61,4 +64,8 @@ for d in $dirs; do
cd $d && $TIBIA_DIR/tibia --data ../common/src/company.json,src/product.json,src/android.json $TIBIA_DIR/templates/android android && cd .. cd $d && $TIBIA_DIR/tibia --data ../common/src/company.json,src/product.json,src/android.json $TIBIA_DIR/templates/android android && cd ..
cd $d && $TIBIA_DIR/tibia --data ../common/src/company.json,src/product.json,src/android.json,../common/src/$make_json,../common/src/android-make.json $TIBIA_DIR/templates/android-make android && cd .. cd $d && $TIBIA_DIR/tibia --data ../common/src/company.json,src/product.json,src/android.json,../common/src/$make_json,../common/src/android-make.json $TIBIA_DIR/templates/android-make android && cd ..
echo "include ../../common/android/Makefile" > $d/android/Makefile echo "include ../../common/android/Makefile" > $d/android/Makefile
cd $d && $TIBIA_DIR/tibia --data ../common/src/company.json,src/product.json,src/ios.json $TIBIA_DIR/templates/ios ios && cd ..
cd $d && $TIBIA_DIR/tibia --data ../common/src/company.json,src/product.json,src/ios.json,../common/src/ios-$make_json $TIBIA_DIR/templates/ios-make ios && cd ..
echo "include ../../common/ios/Makefile" > $d/ios/Makefile
done done

View File

@ -2,12 +2,12 @@
echo Removing common files echo Removing common files
rm -fr common/cmd common/web common/daisy-seed common/lv2 common/vst3 common/android rm -fr common/cmd common/web common/daisy-seed common/lv2 common/vst3 common/android common/ios
dirs="fx_ap1 fx_ap2 fx_balance fxpp_ap1 fxpp_ap2 fxpp_balance" dirs="fx_ap1 fx_ap2 fx_balance fxpp_ap1 fxpp_ap2 fxpp_balance"
for d in $dirs; do for d in $dirs; do
echo Removing data files for $d echo Removing data files for $d
rm -fr $d/cmd $d/web $d/daisy-seed $d/lv2 $d/vst3 $d/android rm -fr $d/cmd $d/web $d/daisy-seed $d/lv2 $d/vst3 $d/android $d/ios
done done