Hello, can someone provide me an example of how to configure a project that compiles for multiple architecture?
I can’t make sense of the documentation 😅
Inside of
/common
I have
nativeMain
, so
/common/nativeMain
and I’d like this folder to be use for macosX64 and linuxX64.
I tried something like this, but it does seem to be it (I am getting KotlinSourceSet not found)
Copy code
val nativeMain by creating {
dependsOn(commonMain)
dependencies {
implementation(Deps.Ktor.clientCurl)
}
}
val nativeTest by creating {
dependsOn(commonTest)
}
val macosX64 by getting {
dependsOn(nativeMain)
}