org.jetbrains.kotlin.backend.konan.KonanConfigurationKeys.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-native-compiler-embeddable Show documentation
Show all versions of kotlin-native-compiler-embeddable Show documentation
Embeddable JAR of Kotlin/Native compiler
/*
* Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
package org.jetbrains.kotlin.backend.konan
import org.jetbrains.kotlin.config.CompilerConfigurationKey
import org.jetbrains.kotlin.config.IrVerificationMode
import org.jetbrains.kotlin.konan.target.CompilerOutputKind
import org.jetbrains.kotlin.konan.target.KonanTarget
class KonanConfigKeys {
companion object {
// Keep the list lexically sorted.
val BUNDLE_ID: CompilerConfigurationKey
= CompilerConfigurationKey.create("bundle ID to be set in Info.plist of a produced framework")
val CHECK_DEPENDENCIES: CompilerConfigurationKey
= CompilerConfigurationKey.create("check dependencies and download the missing ones")
val DEBUG: CompilerConfigurationKey
= CompilerConfigurationKey.create("add debug information")
val FAKE_OVERRIDE_VALIDATOR: CompilerConfigurationKey
= CompilerConfigurationKey.create("fake override validator")
val EMIT_LAZY_OBJC_HEADER_FILE: CompilerConfigurationKey =
CompilerConfigurationKey.create("output file to emit lazy Obj-C header")
val ENABLE_ASSERTIONS: CompilerConfigurationKey
= CompilerConfigurationKey.create("enable runtime assertions in generated code")
val ENTRY: CompilerConfigurationKey
= CompilerConfigurationKey.create("fully qualified main() name")
val EXPORTED_LIBRARIES: CompilerConfigurationKey>
= CompilerConfigurationKey.create>("libraries included into produced framework API")
val FULL_EXPORTED_NAME_PREFIX: CompilerConfigurationKey
= CompilerConfigurationKey.create("prefix used when exporting Kotlin names to other languages")
val LIBRARY_TO_ADD_TO_CACHE: CompilerConfigurationKey
= CompilerConfigurationKey.create("path to library that to be added to cache")
val CACHE_DIRECTORIES: CompilerConfigurationKey>
= CompilerConfigurationKey.create>("paths to directories containing caches")
val AUTO_CACHEABLE_FROM: CompilerConfigurationKey>
= CompilerConfigurationKey.create>("paths to the root directories from which dependencies are to be cached automatically")
val AUTO_CACHE_DIR: CompilerConfigurationKey
= CompilerConfigurationKey.create("path to the directory where to put caches for auto-cacheable dependencies")
val INCREMENTAL_CACHE_DIR: CompilerConfigurationKey
= CompilerConfigurationKey.create("path to the directory where to put incremental build caches")
val CACHED_LIBRARIES: CompilerConfigurationKey