Documentation
¶
Overview ¶
Package gxtc provides functions to invoke the GX toolchain.
Index ¶
- func BindAll(mod *gxmodule.Module, fs []BinderCallback) error
- func CompileCArchive(mod *gxmodule.Module) error
- func DepsPath(mod *gxmodule.Module) (string, error)
- func LinkAllDeps(mod *gxmodule.Module, cache *gotc.Cache) error
- func PackAll(mod *gxmodule.Module) error
- func Packages(mod *gxmodule.Module) ([]string, error)
- func WriteCMakeLists(target string, pkg *ir.Package, headerPath, ccPath string) error
- type BinderCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindAll ¶ added in v0.2.0
func BindAll(mod *gxmodule.Module, fs []BinderCallback) error
BindAll writes C++ bindings for all C++ packages.
func CompileCArchive ¶ added in v0.2.0
CompileCArchive creates a Go file with all the GX/Go dependencies and a main function. This file is then compiled into a static binary C library.
func DepsPath ¶ added in v0.2.0
DepsPath returns the path where dependencies are linked. It is created if it does not exist.
func LinkAllDeps ¶
LinkAllDeps creates links to dependencies. Returns the path where the links where created.
func PackAll ¶
PackAll looks for all GX packages and generates a matching Go package to encapsulte the GX source code.
Types ¶
Click to show internal directories.
Click to hide internal directories.