Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( ErrMissingArch = errors.New("missing architecture") ErrUnrecognizedArch = errors.New("unrecognized architecture") )
var ( ErrMissingOS = errors.New("missing OS") ErrUnrecognizedOS = errors.New("unrecognized OS") )
Functions ¶
This section is empty.
Types ¶
type Arch ¶
type Arch uint
CPU architectures which Godot supports targeting.
func MustParseArch ¶
Parses an input string as a CPU architecture specification but panics if it would fail.
func ParseArch ¶
Parses an input string as a CPU architecture specification.
NOTE: This is a best effort implementation. Please open an issue on GitHub if some values are missing: github.com/coffeebeats/gdbuild/issues/new?labels=bug&template=%F0%9F%90%9B-bug-report.md.
func (Arch) String ¶
String implements 'fmt.Stringer' for 'Arch' according to the architecture names passed to SCons during compilation.
func (*Arch) UnmarshalText ¶
type OS ¶
type OS uint
Operating systems which the Godot project supports building for.
func MustParseOS ¶
Parses an input string as an operating system specification but panics if it would fail.
func ParseOS ¶
Parses an input string as an operating system specification.
NOTE: This is a best effort implementation. Please open an issue on GitHub if some values are missing: github.com/coffeebeats/gdbuild/issues/new?labels=bug&template=%F0%9F%90%9B-bug-report.md.
func (OS) String ¶
String implements 'fmt.Stringer' for 'OS' according to the platform names passed to SCons during compilation.