Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMakefile ¶
Types ¶
type CCLibrary ¶
type CCLibrary struct { File *File Name string Sources []string Headers []string Options []string Dependencies []string ResolvedDependencies []*CCLibrary }
func (*CCLibrary) ObjectFileName ¶
func (*CCLibrary) SourcePaths ¶
type Config ¶
type Config struct { Root string `yaml:"root"` Targets []*BuildTargetLibraryConfig `yaml:"targets"` Ignores []*IgnoreConfig `yaml:"ignores"` Libraries []*LibraryConfig `yaml:"libraries"` Output string `yaml:"output"` Compiler string `yaml:"compiler"` IncludePaths []string `yaml:"include_paths"` Sources []string `yaml:"sources"` CompilerOptions []string `yaml:"compiler_options"` LinkerOptions []string `yaml:"linker_options"` }
func LoadConfig ¶
type File ¶
type File struct { Path string Library *LibraryConfig CCLibraries []*CCLibrary // contains filtered or unexported fields }
type IgnoreConfig ¶
type LibraryConfig ¶
type LibraryFileMap ¶
type LibraryLocation ¶
type LibraryLocation struct { Library *LibraryConfig Path string CCLibName string Original string }
type Makefile ¶
type Makefile struct { Root string Output string Compiler string ExtSources []string IncludePaths []string CompilerOptions []string LinkerOptions []string TargetLibs []*CCLibrary // contains filtered or unexported fields }
func (*Makefile) Sources ¶
func (m *Makefile) Sources() []*NameAndPath
type NameAndPath ¶
Click to show internal directories.
Click to hide internal directories.