Skip to content

Commit 0eb0c3c

Browse files
committed
More debugs
1 parent 1c77d37 commit 0eb0c3c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

aws-crt-kotlin/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,19 @@ kotlin {
142142
)
143143
}
144144
}
145+
145146
compilations["main"].cinterops {
146147
create("winver") {
148+
println("Creating winver cinterop task")
147149
val mingwIncludes = Paths.get(mingwHome, "include").toString()
150+
println("Using MinGW includes at: $mingwIncludes")
151+
148152
includeDirs(mingwIncludes)
149153
definitionFile.set(defPath)
150154

151155
// Ensure that the def file is written first
152156
tasks[interopProcessingTaskName].dependsOn(defFileTask)
157+
println("Done creating winver cinterop task")
153158
}
154159
}
155160

@@ -160,6 +165,7 @@ kotlin {
160165
"-v",
161166
)
162167
compilerOptions.freeCompilerArgs.addAll(compilerArgs)
168+
println("Added compiler args: ${compilerArgs.joinToString()}")
163169
}
164170
}
165171
}

0 commit comments

Comments
 (0)