Package.getDefaultConfiguration

Returns the default configuration to build for the given platform.

This will return the first configuration that is applicable to the given platform, or null if none is applicable. By default, only library configurations will be returned. Setting allow_non_library to true will also return executable configurations.

class Package
const
string
getDefaultConfiguration
(
in BuildPlatform platform
,
bool allow_non_library = false
)

See Also

getPlatformConfigurations

Meta