Renamed objc klib in the sample to objective_c to eliminate naming

conflict woth objc platform lib.
Made objc sample compile with the platform libs.
This commit is contained in:
Alexander Gorshenev
2017-10-13 18:38:28 +03:00
committed by alexander-gorshenev
parent c4e45baa61
commit dc9a1ac76c
3 changed files with 5 additions and 4 deletions
+2 -3
View File
@@ -1,15 +1,14 @@
apply plugin: 'konan'
konanInterop {
objc {
objective_c {
target "macbook"
}
}
konanArtifacts {
Window {
useInterop 'objc'
useInterop 'objective_c'
target "macbook"
}
}
+3 -1
View File
@@ -1,4 +1,6 @@
import objc.*
import platform.objc.*
import platform.osx.*
import objective_c.*
import kotlinx.cinterop.*
fun main(args: Array<String>) {