Simplify build-script
This commit is contained in:
parent
54eb66ac70
commit
ef31cfcd65
@ -8,15 +8,13 @@ plugins {
|
|||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
targets.withType<KotlinNativeTarget> {
|
targets.withType<KotlinNativeTarget> {
|
||||||
compilations["main"].apply {
|
compilations["main"].cinterops {
|
||||||
cinterops {
|
|
||||||
val libgsl by creating {
|
val libgsl by creating {
|
||||||
defFile("src/nativeInterop/cinterop/libgsl.def")
|
defFile("src/nativeInterop/cinterop/libgsl.def")
|
||||||
includeDirs { allHeaders("./src/nativeMain/resources/") }
|
includeDirs { allHeaders("./src/nativeMain/resources/") }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
sourceSets.commonMain {
|
sourceSets.commonMain {
|
||||||
dependencies {
|
dependencies {
|
||||||
|
Loading…
Reference in New Issue
Block a user