Produce windows .def files together with .dlls.
This commit is contained in:
committed by
alexander-gorshenev
parent
82755af754
commit
3984c4ff64
+1
-1
@@ -292,7 +292,7 @@ private class ExportedElement(val kind: ElementKind,
|
||||
internal class CAdapterGenerator(val context: Context,
|
||||
internal val codegen: CodeGenerator) : IrElementVisitorVoid {
|
||||
private val scopes = mutableListOf<ExportedElementScope>()
|
||||
internal val prefix: String = context.config.outputName
|
||||
internal val prefix: String = context.config.moduleId
|
||||
private lateinit var outputStreamWriter: PrintWriter
|
||||
|
||||
override fun visitElement(element: IrElement) {
|
||||
|
||||
+1
@@ -21,6 +21,7 @@ import org.jetbrains.kotlin.konan.file.*
|
||||
class TempFiles(val outputName: String) {
|
||||
val nativeBinaryFile by lazy { File("${outputName}.kt.bc") }
|
||||
val cAdapterHeader by lazy { File("${outputName}_api.h") }
|
||||
val cAdapterDef by lazy { File("${outputName}_symbols.def") }
|
||||
val cAdapterCpp by lazy { createTempFile("api", ".cpp").deleteOnExit() }
|
||||
val cAdapterBitcode by lazy { createTempFile("api", ".bc").deleteOnExit() }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user