Command line interface
This commit is contained in:
+12
@@ -103,6 +103,18 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
|
||||
|
||||
// Advanced options
|
||||
|
||||
|
||||
@Argument(value = "-Xir", description = "Use IR backend")
|
||||
var irBackend: Boolean by FreezableVar(false)
|
||||
|
||||
@Argument(
|
||||
value = "-Xir-produce-only",
|
||||
valueDescription = "{ klib, js }",
|
||||
description = "Type of output to produce. Overrides -meta-info argument."
|
||||
)
|
||||
var irProduceOnly: String? by NullableStringFreezableVar(null)
|
||||
|
||||
|
||||
@GradleOption(DefaultValues.BooleanTrueDefault::class)
|
||||
@Argument(value = "-Xtyped-arrays", description = "Translate primitive arrays to JS typed arrays")
|
||||
var typedArrays: Boolean by FreezableVar(true)
|
||||
|
||||
Reference in New Issue
Block a user