[JS IR BE] Support mode of linking multiple klibs without .kt files

This commit is contained in:
Svyatoslav Kuzmich
2020-01-09 20:27:08 +03:00
parent 553128c3c9
commit fbf71be30c
7 changed files with 102 additions and 39 deletions
@@ -128,6 +128,13 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
@Argument(value = "-Xir-only", description = "Disables pre-IR backend")
var irOnly: Boolean by FreezableVar(false)
@Argument(
value = "-Xinclude",
valueDescription = "<path>",
description = "A path to an intermediate library that should be processed in the same manner as source files."
)
var includes: String? by NullableStringFreezableVar(null)
@Argument(
value = "-Xgenerate-dts",
description = "Generate TypeScript declarations .d.ts file alongside JS file. Available in IR backend only."