File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ fun configInterop(target: org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTar
1414 val main by target.compilations.getting
1515 val sqlite3 by main.cinterops.creating {
1616 includeDirs(" $projectDir /src/include" )
17+ // extraOpts = listOf("-mode", "sourcecode")
1718 }
1819
1920 target.compilations.forEach { kotlinNativeCompilation ->
@@ -44,7 +45,8 @@ kotlin {
4445 iosSimulatorArm64(),
4546 watchosSimulatorArm64(),
4647 tvosSimulatorArm64(),
47- mingwX64(" mingw" ),
48+ mingwX64(),
49+ mingwX86(),
4850 linuxX64()
4951 )
5052
@@ -82,6 +84,7 @@ kotlin {
8284 knTargets.forEach { target ->
8385 when {
8486 target.name.startsWith(" mingw" ) -> {
87+ target.compilations.getByName(" main" ).defaultSourceSet.dependsOn(mingwMain)
8588 target.compilations.getByName(" test" ).defaultSourceSet.dependsOn(nativeCommonTest)
8689 }
8790 target.name.startsWith(" linux" ) -> {
You can’t perform that action at this time.
0 commit comments