Added library in benchmarks (#3349)
This commit is contained in:
@@ -173,7 +173,7 @@ open class BenchmarkingPlugin: Plugin<Project> {
|
||||
|
||||
private fun Project.configureNativeTarget(hostPreset: KotlinNativeTargetPreset) {
|
||||
kotlin.targetFromPreset(hostPreset, NATIVE_TARGET_NAME) {
|
||||
compilations.getByName("main").kotlinOptions.freeCompilerArgs = project.compilerArgs
|
||||
compilations.getByName("main").kotlinOptions.freeCompilerArgs = project.compilerArgs + listOf("-l", "kotlinx-cli")
|
||||
binaries.executable(NATIVE_EXECUTABLE_NAME, listOf(RELEASE)) {
|
||||
if (HostManager.hostIsMingw) {
|
||||
linkerOpts.add("-L${mingwPath}/lib")
|
||||
|
||||
Reference in New Issue
Block a user