restructure, begin implementing libplt
This commit is contained in:
22
plt-pkg/build.gradle.kts
Normal file
22
plt-pkg/build.gradle.kts
Normal file
@@ -0,0 +1,22 @@
|
||||
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"))
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user