diff --git a/examples/common/src/ios-make-cxx.json b/examples/common/src/ios-make-cxx.json new file mode 100644 index 0000000..c85a54a --- /dev/null +++ b/examples/common/src/ios-make-cxx.json @@ -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" + } +} diff --git a/examples/common/src/ios-make.json b/examples/common/src/ios-make.json new file mode 100644 index 0000000..ab4e92a --- /dev/null +++ b/examples/common/src/ios-make.json @@ -0,0 +1,12 @@ +{ + "ios_make": { + "headerSearchPaths": [ + "../../../../../../miniaudio", + "../../../../common/src", + "../../../../../include" + ], + "deploymentTarget": 16.6, + "commonDir": "../../common/ios", + "pluginDir": "../src" + } +} diff --git a/examples/fx_ap1/src/ios.json b/examples/fx_ap1/src/ios.json new file mode 100644 index 0000000..502e5eb --- /dev/null +++ b/examples/fx_ap1/src/ios.json @@ -0,0 +1,5 @@ +{ + "ios": { + "productBundleIdentifier": "com.orastron.fx_ap1" + } +} diff --git a/examples/fx_ap2/src/ios.json b/examples/fx_ap2/src/ios.json new file mode 100644 index 0000000..aff36d6 --- /dev/null +++ b/examples/fx_ap2/src/ios.json @@ -0,0 +1,5 @@ +{ + "ios": { + "productBundleIdentifier": "com.orastron.fx_ap2" + } +} diff --git a/examples/fx_balance/src/ios.json b/examples/fx_balance/src/ios.json new file mode 100644 index 0000000..1abed93 --- /dev/null +++ b/examples/fx_balance/src/ios.json @@ -0,0 +1,5 @@ +{ + "ios": { + "productBundleIdentifier": "com.orastron.fx_balance" + } +} diff --git a/examples/fxpp_ap1/src/ios.json b/examples/fxpp_ap1/src/ios.json new file mode 100644 index 0000000..b1cc60c --- /dev/null +++ b/examples/fxpp_ap1/src/ios.json @@ -0,0 +1,5 @@ +{ + "ios": { + "productBundleIdentifier": "com.orastron.fxpp_ap1" + } +} diff --git a/examples/fxpp_ap2/src/ios.json b/examples/fxpp_ap2/src/ios.json new file mode 100644 index 0000000..c392745 --- /dev/null +++ b/examples/fxpp_ap2/src/ios.json @@ -0,0 +1,5 @@ +{ + "ios": { + "productBundleIdentifier": "com.orastron.fxpp_ap2" + } +} diff --git a/examples/fxpp_balance/src/ios.json b/examples/fxpp_balance/src/ios.json new file mode 100644 index 0000000..cea4cdd --- /dev/null +++ b/examples/fxpp_balance/src/ios.json @@ -0,0 +1,5 @@ +{ + "ios": { + "productBundleIdentifier": "com.orastron.fxpp_balance" + } +} diff --git a/examples/gen.sh b/examples/gen.sh index b4e12a2..55ea9e3 100755 --- a/examples/gen.sh +++ b/examples/gen.sh @@ -1,6 +1,6 @@ #!/bin/sh -TIBIA_DIR=~/repos/tibia +TIBIA_DIR=../../../tibia 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-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" 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,../common/src/$make_json,../common/src/android-make.json $TIBIA_DIR/templates/android-make android && cd .. 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 diff --git a/examples/genClean.sh b/examples/genClean.sh index 3a7bb5b..4af589f 100755 --- a/examples/genClean.sh +++ b/examples/genClean.sh @@ -2,12 +2,12 @@ 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" for d in $dirs; do 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