Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompileConfig ¶
type CompileConfig struct {
Groups []CompileGroup
ExportCFlags []string
}
CompileConfig represents compilation configuration
type CompileGroup ¶
type CompileGroup struct {
OutputFileName string
Files []string // List of source files to compile
CFlags []string // C compiler flags
CCFlags []string
LDFlags []string // Linker flags
}
func (CompileGroup) Compile ¶
func (g CompileGroup) Compile( outputDir string, options CompileOptions, ) (err error)
Compile compiles all source files in the group into a static library archive If the archive already exists, compilation is skipped
func (CompileGroup) IsCompiled ¶
func (g CompileGroup) IsCompiled(outputDir string) bool
IsCompiled checks if the compile group has already been compiled by verifying if the output archive file exists in the specified directory