Revert "samples: Use camel case in tetris gradle build script"

This reverts commit 409d00db96.
This commit is contained in:
Ilya Matveev
2017-05-10 11:24:40 +07:00
committed by ilmat192
parent 88e3c1d05c
commit da6be1f1f7
+6 -6
View File
@@ -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 ' +