How are you guys building executables for linux an...
# multiplatform
b
How are you guys building executables for linux and mac at the same time?
This is what my current setup looks like, but it only allows me to build my current OS, I’d like to be able to build both linux and macos
anyone have any good solutions to acomplish that?
d
Which OS are you building on?
b
MacOs
d
At the moment, you can build executables for Windows and Linux on Macos.
🙌 1
There are some limitations if you use cinterops though
To build multiple executables just remove the
when
you have, that only picks on platform.
b
Copy code
macosX64("native") {
        binaries {
            executable()
        }
    }

    linuxX64("native") {
        binaries {
            executable()
        }
    }
like this?
ah you’re saying I manually change it each time I build?
d
Yeah that code snippet is what I meant
b
ok, I’ll do that, thanks for the help everyone 🙂