Burkhard
12/01/2019, 6:30 AMKirill Shmakov [JB]
12/02/2019, 10:44 AMhttps://kotlinlang.org/assets/images/tutorials/native/basic-kotlin-native/idea-run-gradle-task.png▾
Kirill Shmakov [JB]
12/02/2019, 10:47 AMkotlin {
macosX64("m1") {
binaries {
executable("e1") {
entryPoint = "sample.helloworld.main1"
runTask?.environment(
"Longitude" to "35.240197",
"Latitude" to "31.779402"
)
runTask?.args("Peter", "John", "James")
}
executable("e2") {
entryPoint = "sample.helloworld.main2"
runTask?.environment(
"Longitude" to "35.240197",
"Latitude" to "31.779402"
)
runTask?.args("Peter", "John", "James")
}
}
}
}
(full example is here https://github.com/kishmakov/my-examples/tree/master/my-mpp-basic). K/N run-configurations are being created for those executables.Burkhard
12/02/2019, 1:45 PMentryPoint
to my build file it works. Thx. This should be a part of the tutorial I linked IMO.Kirill Shmakov [JB]
12/05/2019, 11:34 AMBurkhard
12/05/2019, 1:57 PMBurkhard
12/05/2019, 2:00 PMKirill Shmakov [JB]
12/12/2019, 12:37 PM