https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
d

Draget

11/02/2023, 9:06 PM
If I compile a desktop app (desktopApp:build) it will be only built for the current platform, or? I.e. under a 64bit Linux I will get a 64bit linux binary, right?
👌 1
j

Jeff Lockhart

11/02/2023, 9:26 PM
It depends what platform this desktop app targets. Is this a JVM app? If this is the case, JVM bytecode isn't platform-specific. If this desktop app is a native target and the build script is creating the target based on the host system platform, then yes, that's the platform that would be built. It depends on your build script.
d

Draget

11/03/2023, 7:28 AM
Ah. I think I might not have configured native builds then. Eh, confusing.
j

Jeff Lockhart

11/03/2023, 3:01 PM
If you can share your build script and provide more info about what you're trying to do, we could assist better.