blob: 6317036c4e48980dd7a3864f599de021ff539899 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
plugins {
id 'org.jetbrains.kotlin.multiplatform' version '1.3.40'
}
repositories {
jcenter()
mavenCentral()
}
kotlin {
mingwX64()
sourceSets {
mingwX64Main {
mingwX64Main.kotlin.srcDirs += file("src/mingwMain/kotlin")
}
}
mingwX64 {
binaries {
executable {
entryPoint 'moe.yuuta.aero.main'
linkerOpts "-Wl,--subsystem,windows"
}
}
compilations.main.cinterops {
aero {
includeDirs {
allHeaders 'src/nativeInterop/cinterop'
}
}
}
}
}
|