build

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PostHookName = "GML_BUILD_POST_HOOKS"
)

Variables

This section is empty.

Functions

func Build

func Build(sourceDir, buildDir, destDir, qtModules string, clean, noStrip, debugBuild, race bool, tags string) (err error)

Types

type Context

type Context struct {
	SourceDir string
	BuildDir  string
	DestDir   string

	QTModules string // TODO: Move this to gml.yaml

	GmlBindingDir        string
	GmlBindingHeadersDir string
	GmlBindingSourcesDir string

	QMLDir     string
	QMLResDir  string
	QMLResFile string

	CGenDir        string
	CGenIncludeDir string
	CPPGenDir      string

	OutputFile    string
	StaticLibPath string
	QtProFile     string

	DebugBuild bool
}

func (*Context) Env

func (c *Context) Env(optsEnv ...string) (env []string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL