Fixed compiler options with value expected to be path to cover all characters in pathes (#3148)
This commit is contained in:
@@ -35,7 +35,7 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
|
|||||||
@Argument(value="-include-binary", deprecatedName = "-includeBinary", shortName = "-ib", valueDescription = "<path>", description = "Pack external binary within the klib")
|
@Argument(value="-include-binary", deprecatedName = "-includeBinary", shortName = "-ib", valueDescription = "<path>", description = "Pack external binary within the klib")
|
||||||
var includeBinaries: Array<String>? = null
|
var includeBinaries: Array<String>? = null
|
||||||
|
|
||||||
@Argument(value = "-library", shortName = "-l", valueDescription = "<path>", description = "Link with the library")
|
@Argument(value = "-library", shortName = "-l", valueDescription = "<path>", description = "Link with the library", delimiter = "")
|
||||||
var libraries: Array<String>? = null
|
var libraries: Array<String>? = null
|
||||||
|
|
||||||
@Argument(value = "-library-version", shortName = "-lv", valueDescription = "<version>", description = "Set library version")
|
@Argument(value = "-library-version", shortName = "-lv", valueDescription = "<version>", description = "Set library version")
|
||||||
@@ -53,7 +53,8 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
|
|||||||
@Argument(value="-module-name", deprecatedName = "-module_name", valueDescription = "<name>", description = "Specify a name for the compilation module")
|
@Argument(value="-module-name", deprecatedName = "-module_name", valueDescription = "<name>", description = "Specify a name for the compilation module")
|
||||||
var moduleName: String? = null
|
var moduleName: String? = null
|
||||||
|
|
||||||
@Argument(value = "-native-library", deprecatedName = "-nativelibrary", shortName = "-nl", valueDescription = "<path>", description = "Include the native bitcode library")
|
@Argument(value = "-native-library", deprecatedName = "-nativelibrary", shortName = "-nl",
|
||||||
|
valueDescription = "<path>", description = "Include the native bitcode library", delimiter = "")
|
||||||
var nativeLibraries: Array<String>? = null
|
var nativeLibraries: Array<String>? = null
|
||||||
|
|
||||||
@Argument(value = "-nodefaultlibs", description = "Don't link the libraries from dist/klib automatically")
|
@Argument(value = "-nodefaultlibs", description = "Don't link the libraries from dist/klib automatically")
|
||||||
@@ -120,7 +121,8 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
|
|||||||
value = "-Xexport-library",
|
value = "-Xexport-library",
|
||||||
valueDescription = "<path>",
|
valueDescription = "<path>",
|
||||||
description = "Path to the library to be included into produced framework API\n" +
|
description = "Path to the library to be included into produced framework API\n" +
|
||||||
"Must be the path of a library passed with '-library'"
|
"Must be the path of a library passed with '-library'",
|
||||||
|
delimiter = ""
|
||||||
)
|
)
|
||||||
var exportedLibraries: Array<String>? = null
|
var exportedLibraries: Array<String>? = null
|
||||||
|
|
||||||
@@ -183,7 +185,8 @@ class K2NativeCompilerArguments : CommonCompilerArguments() {
|
|||||||
@Argument(
|
@Argument(
|
||||||
value = "-Xlibrary-to-cover",
|
value = "-Xlibrary-to-cover",
|
||||||
valueDescription = "<path>",
|
valueDescription = "<path>",
|
||||||
description = "Path to library that should be covered."
|
description = "Path to library that should be covered.",
|
||||||
|
delimiter = ""
|
||||||
)
|
)
|
||||||
var coveredLibraries: Array<String>? = null
|
var coveredLibraries: Array<String>? = null
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user