22 lines
500 B
Plaintext
22 lines
500 B
Plaintext
plugins {
|
|
kotlin("multiplatform")
|
|
}
|
|
kotlin {
|
|
val nativeTarget = if(System.getProperty("os.arch") == "aarch64") {
|
|
linuxArm64("native")
|
|
} else {
|
|
linuxX64("native")
|
|
}
|
|
nativeTarget.binaries {
|
|
executable()
|
|
}
|
|
sourceSets {
|
|
nativeMain.dependencies {
|
|
implementation(project(":libplt"))
|
|
}
|
|
nativeTest.dependencies {
|
|
implementation(project(":libplt"))
|
|
implementation(kotlin("test"))
|
|
}
|
|
}
|
|
} |