extraOpts

abstract fun extraOpts(vararg values: Any)

Adds additional options that are passed to the cinterop tool.

Usage example

kotlin {
linuxX64() {
compilations.getByName("main") {
cinterops {
val cinterop by creating {
defFile(project.file("custom. def"))
extraOpts("-nopack")
}
}
}
}
}

Parameters

values

Additional cinterop tool options that are not present in CInteropSettings


abstract fun extraOpts(values: List<Any>)

Adds additional options that are passed to the cinterop tool.

Usage example

kotlin {
linuxX64() {
compilations.getByName("main") {
cinterops {
val cinterop by creating {
defFile(project.file("custom. def"))
extraOpts(listOf("-nopack"))
}
}
}
}
}

Parameters

values

List of extra options

See also