mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-05 18:30:22 -08:00
Switched to MetalANGLE for iOS
This commit is contained in:
parent
58909a06a5
commit
6712f23fe4
2 changed files with 10 additions and 5 deletions
|
|
@ -48,7 +48,7 @@ ext{
|
||||||
mainClassName = "mindustry.ios.IOSLauncher"
|
mainClassName = "mindustry.ios.IOSLauncher"
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyAssets(){
|
tasks.register('copyAssets'){
|
||||||
doLast{
|
doLast{
|
||||||
delete{
|
delete{
|
||||||
delete "assets/"
|
delete "assets/"
|
||||||
|
|
@ -61,17 +61,16 @@ task copyAssets(){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyNatives(){
|
tasks.register('copyNatives'){
|
||||||
doLast{
|
doLast{
|
||||||
copy{
|
copy{
|
||||||
from "../../Arc/natives/natives-freetype-ios/libs", "../../Arc/natives/natives-ios/libs"
|
from "../../Arc/natives/natives-freetype-ios/libs", "../../Arc/natives/natives-ios/libs"
|
||||||
into "libs"
|
into "libs"
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task deploy{
|
tasks.register('deploy'){
|
||||||
if(System.getProperty("os.name").contains("Mac")) dependsOn copyAssets
|
if(System.getProperty("os.name").contains("Mac")) dependsOn copyAssets
|
||||||
dependsOn createIPA
|
dependsOn createIPA
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,13 @@
|
||||||
</libs>
|
</libs>
|
||||||
<frameworks>
|
<frameworks>
|
||||||
<framework>UIKit</framework>
|
<framework>UIKit</framework>
|
||||||
<framework>OpenGLES</framework>
|
<framework>MetalANGLEKit</framework>
|
||||||
|
|
||||||
|
<framework>libGLESv2</framework>
|
||||||
|
<framework>libEGL</framework>
|
||||||
|
<framework>libfeature_support</framework>
|
||||||
|
|
||||||
|
<framework>Metal</framework>
|
||||||
<framework>QuartzCore</framework>
|
<framework>QuartzCore</framework>
|
||||||
<framework>CoreGraphics</framework>
|
<framework>CoreGraphics</framework>
|
||||||
<framework>CoreAudio</framework>
|
<framework>CoreAudio</framework>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue