Added library in benchmarks (#3349)

This commit is contained in:
LepilkinaElena
2019-09-17 11:10:01 +03:00
committed by GitHub
parent d4a98168c0
commit ba37e69e1b
@@ -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")