Well, cross-platform build works: <https://github....
# kotlin-native
m
Well, cross-platform build works: https://github.com/msink/hello-kotlin
👍🏻 9
👍🏽 2
s
Which IDE are you using? I think CLion doesn’t support gradle projects.
m
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
Quick question, does static linking work for cross platform builds?
Say, want to build with linux static lib from mac.
m
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
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!