NativeBuildType

An enum class representing the different build types for a native target in a Kotlin/Native project.

Entries

Link copied to clipboard

A release build type, intended for production use. Optimized for performance but without including debugging symbols.

Link copied to clipboard

A debug build type, intended for development and debugging. Not optimized for performance, but includes debugging symbols.

Properties

Link copied to clipboard

Indicates whether the build includes debug information.

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Indicates whether the build is optimized. For example, for release builds.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun getName(): String

Returns the name of this build type. This is typically used for task names or logs.

Link copied to clipboard

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.