NativeOutputKind
An enum class representing the different output types generated by the Kotlin/Native compiler. Each output type (or "kind") defines the format of the binary produced, such as an executable, a dynamic library, or a framework.
Entries
Represents an executable output type, such as a standalone program.
Represents a framework output type, used for iOS/macOS applications. For more information see Apple's documentation on Bundles and frameworks.
Properties
The internal representation of the output type used by the Kotlin/Native compiler.
A human-readable description of the output type, typically shown in logs or error messages, helping developers quickly understand the nature of the binary being generated. For example, "an executable".
Returns a representation of an immutable list of all enum entries, in the order they're declared.
A string used to classify the tasks related to this instance of NativeOutputKind
class, typically appended to task names to distinguish between tasks producing different types of binaries. For example, "executable" or "static".
Functions
Determines whether this instance of NativeOutputKind
is supported for the specified target platform.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.