Introduced -target and -list_targets flags.

Use it like

    $ konanc hello.kt -target iphone
This commit is contained in:
Alexander Gorshenev
2017-01-13 16:38:40 +03:00
committed by alexander-gorshenev
parent d31b44135a
commit afaa50ce34
21 changed files with 458 additions and 250 deletions
+4 -3
View File
@@ -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 {