Introduced -target and -list_targets flags.
Use it like
$ konanc hello.kt -target iphone
This commit is contained in:
committed by
alexander-gorshenev
parent
d31b44135a
commit
afaa50ce34
+4
-3
@@ -1,10 +1,11 @@
|
||||
import org.jetbrains.kotlin.CompileCppToBitcode
|
||||
import org.jetbrains.kotlin.CompilePerTarget
|
||||
|
||||
// TODO: consider using some Gradle plugins to build and test
|
||||
|
||||
|
||||
task compileHash(type: CompileCppToBitcode) {
|
||||
task compileHash(type: CompilePerTarget) {
|
||||
name 'hash'
|
||||
targetList targetList
|
||||
targetArgs targetArgs
|
||||
}
|
||||
|
||||
task build {
|
||||
|
||||
Reference in New Issue
Block a user