restructure, begin implementing libplt

This commit is contained in:
2025-08-12 06:24:29 -05:00
parent ae166bc45c
commit ca586aaa36
23 changed files with 682 additions and 556 deletions

26
libplt/build.gradle.kts Normal file
View File

@@ -0,0 +1,26 @@
plugins {
kotlin("multiplatform")
alias(libs.plugins.kotlinPluginSerialization)
}
kotlin {
jvm()
val nativeTarget = if(System.getProperty("os.arch") == "aarch64") {
linuxArm64("native")
} else {
linuxX64("native")
}
nativeTarget.binaries {
sharedLib {
baseName = "libplt"
}
}
sourceSets {
commonMain.dependencies {
implementation(libs.bundles.kotlinxEcosystem)
}
commonTest.dependencies {
implementation(libs.bundles.kotlinxEcosystem)
implementation(kotlin("test"))
}
}
}