forked from kscience/kmath
27 lines
602 B
Plaintext
27 lines
602 B
Plaintext
|
@file:Suppress("UNUSED_VARIABLE")
|
||
|
|
||
|
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
|
||
|
|
||
|
plugins {
|
||
|
id("ru.mipt.npm.native")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
targets.withType<KotlinNativeTarget> {
|
||
|
compilations["main"].apply {
|
||
|
cinterops {
|
||
|
val libgsl by creating {
|
||
|
defFile("src/nativeInterop/cinterop/libgsl.def")
|
||
|
includeDirs { allHeaders("./src/nativeMain/resources/") }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
sourceSets.commonMain {
|
||
|
dependencies {
|
||
|
api(project(":kmath-core"))
|
||
|
}
|
||
|
}
|
||
|
}
|