Revert "samples: Use camel case in tetris gradle build script"
This reverts commit 409d00db96.
This commit is contained in:
@@ -14,7 +14,7 @@ buildscript {
|
||||
apply plugin: 'konan'
|
||||
|
||||
konanInterop {
|
||||
sdlOsx {
|
||||
sdlOSX {
|
||||
defFile 'sdl.def'
|
||||
includeDirs '/Library/Frameworks/SDL2.framework/Headers', "${System.getProperty("user.home")}/Library/Frameworks/SDL2.framework/Headers"
|
||||
|
||||
@@ -27,7 +27,7 @@ konanInterop {
|
||||
target 'linux'
|
||||
}
|
||||
|
||||
sdlIos {
|
||||
sdlIOS {
|
||||
defFile 'sdl.def'
|
||||
includeDirs "${project.property("konan.home")}/dependencies/target-sysroot-2-darwin-ios/System/Library/Frameworks/SDL2.framework/Headers"
|
||||
target 'ios'
|
||||
@@ -41,9 +41,9 @@ konanInterop {
|
||||
}
|
||||
|
||||
konanArtifacts {
|
||||
TetrisOsx {
|
||||
TetrisOSX {
|
||||
inputFiles project.file('Tetris.kt')
|
||||
useInterop 'sdlOsx'
|
||||
useInterop 'sdlOSX'
|
||||
linkerOpts "-F ${System.getProperty("user.home")}/Library/Frameworks -F /Library/Frameworks -framework SDL2"
|
||||
// Use this line instead of the previous one if you've got a 'No SDL-framework' error.
|
||||
//linkerOpts "-L/opt/local/lib -L/usr/local/lib -lSDL2"
|
||||
@@ -58,10 +58,10 @@ konanArtifacts {
|
||||
target 'linux'
|
||||
}
|
||||
|
||||
TetrisIos {
|
||||
TetrisIOS {
|
||||
|
||||
inputFiles project.file('Tetris.kt')
|
||||
useInterop 'sdlIos'
|
||||
useInterop 'sdlIOS'
|
||||
|
||||
linkerOpts '-framework SDL2 -framework AVFoundation -framework CoreGraphics -framework CoreMotion ' +
|
||||
'-framework Foundation -framework GameController -framework AudioToolbox -framework OpenGLES ' +
|
||||
|
||||
Reference in New Issue
Block a user