https://kotlinlang.org logo
Title
m

msink

11/10/2017, 2:07 PM
Well, cross-platform build works: https://github.com/msink/hello-kotlin
👍🏽 2
👍🏻 9
s

suresh

11/13/2017, 9:46 PM
Which IDE are you using? I think CLion doesn’t support gradle projects.
m

msink

11/13/2017, 10:44 PM
Well, as I am on Windows, CLion doesn't support any projects. So for now - no IDE at all. Or sometimes IDEA and Kotlin/JVM...
s

suresh

11/15/2017, 11:17 PM
Quick question, does static linking work for cross platform builds?
Say, want to build with linux static lib from mac.
m

msink

11/15/2017, 11:31 PM
AFAIK currently you cannot buid on mac targeting linux or windows. Or on windows for mac or linux and so on. It's possible in theory, but not implemented. So my workflow for now - develop and debug for native platform, then push to github, and it starts build on travis and appveyor for all platforms.
s

suresh

11/15/2017, 11:34 PM
so if i want to build a cli tool in KN to target all 3 platforms (mac, linux and windows), i have to have 3 dev environments to test it properly. Is that correct?
The thing is, I can’t able to use the external ci/cd tools.
Cool.. your projects has all the samples. Thanks!