File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments