Documentation ¶
Index ¶
- Variables
- func Initialize()
- func InitializeFilesystem()
- func MAKE_get_includes_tree(cppPathMap *CppPathMap, node *File, includesTree *IncludesTree, level int)
- func MAKE_includes_md5(cppPathMap *CppPathMap, node *File)
- func MAKE_update_tgt(tgt *File)
- func PopDir()
- func Printf(format string, args ...interface{})
- func PushDir(path string)
- func Terminate()
- func TopPrintTree()
- type ByDigest
- type Cache
- type Cmd
- type Color
- type Cons
- func (cons *Cons) Command(tgt string, src string, command string) *Cmd
- func (cons *Cons) CommandArr(tgts []string, srcs []string, command string) *Cmd
- func (cons *Cons) CommandCpp(tgt string, src string, command string, digest_command string) *Cmd
- func (cons *Cons) Depends(tgt string, src string)
- func (cons *Cons) ExeDepends(tgt string, src string)
- type Consign
- type ConsignEntry
- type CppPathMap
- type Digest
- type Dir
- type Done
- type Engine
- type Entry
- type EntryInterface
- type ExecuteContext
- type FUN
- type FUN_base
- type FUN_get_includes_tree
- type FUN_includes_md5
- type FUN_top_level
- type FUN_update_tgt
- func (fun *FUN_update_tgt) STATE_cmd_executed()
- func (fun *FUN_update_tgt) STATE_finish()
- func (fun *FUN_update_tgt) STATE_maybe_execute_cmd()
- func (fun *FUN_update_tgt) STATE_srcs_updated()
- func (fun *FUN_update_tgt) STATE_start()
- func (fun *FUN_update_tgt) STATE_updated_by_other()
- func (fun *FUN_update_tgt) String() string
- type File
- func (file *File) IsSource() bool
- func (file *File) PrintTree(level int)
- func (file *File) ST_invalidError()
- func (file *File) ST_ok_p() bool
- func (file *File) ST_propagateError()
- func (file *File) ST_propagate_ok()
- func (file *File) ST_source()
- func (file *File) ST_updated(depSig Digest)
- func (file *File) String() string
- type Include
- type IncludesTree
- type JConsTime
- type State
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var Digest_tmp = Digest{3} // TODO
View Source
var Digest_undefined = Digest{1} // TODO
View Source
var GotSigint = false
View Source
var InvalidDigest = Digest{2} // TODO
View Source
var KeepGoing = false
View Source
var OptAcceptExistingTarget bool
View Source
var OptAlwaysMake bool
View Source
var OptCacheForce bool
View Source
var OptDebug bool
View Source
var OptListTargets bool
View Source
var OptLogging bool
View Source
var OptPrintTree bool
View Source
var OptQuiet bool
View Source
var OptRemove bool
View Source
var OptTrustMtime = true
View Source
var OptVerbose bool
Functions ¶
func Initialize ¶
func Initialize()
func InitializeFilesystem ¶
func InitializeFilesystem()
Initialize filesystem module. The function can be called several times, and will then "reset" the state. This can be useful for testing the code.
func MAKE_get_includes_tree ¶
func MAKE_get_includes_tree(cppPathMap *CppPathMap, node *File, includesTree *IncludesTree, level int)
func MAKE_includes_md5 ¶
func MAKE_includes_md5(cppPathMap *CppPathMap, node *File)
func MAKE_update_tgt ¶
func MAKE_update_tgt(tgt *File)
func Terminate ¶
func Terminate()
Flush information to .consign files. Should be called before the process is terminated.
func TopPrintTree ¶
func TopPrintTree()
Types ¶
type Cmd ¶
type Cmd struct {
// contains filtered or unexported fields
}
func (*Cmd) ST_invalidError ¶
func (cmd *Cmd) ST_invalidError()
pass on 'invalid' call to all targets
func (*Cmd) ST_propagateError ¶
func (cmd *Cmd) ST_propagateError()
pass on 'propagate' call to all targets
func (*Cmd) SetCachedir ¶
type Cons ¶
type Cons struct {
// contains filtered or unexported fields
}
func (*Cons) CommandArr ¶
func (*Cons) CommandCpp ¶
func (*Cons) ExeDepends ¶
type Consign ¶
type Consign struct { Entries map[string]*ConsignEntry Dirty bool }
func NewConsign ¶
func NewConsign() *Consign
type ConsignEntry ¶
type CppPathMap ¶
type CppPathMap struct {
// contains filtered or unexported fields
}
func NewCppPathMap ¶
func NewCppPathMap(cwd *Dir, incs []string) *CppPathMap
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) UpdateTopFiles ¶
type EntryInterface ¶
type ExecuteContext ¶
type ExecuteContext struct {
// contains filtered or unexported fields
}
type FUN ¶
func MAKE_top_level ¶
type FUN_get_includes_tree ¶
type FUN_get_includes_tree struct { FUN_base // contains filtered or unexported fields }
func (*FUN_get_includes_tree) STATE_finish ¶
func (fun *FUN_get_includes_tree) STATE_finish()
func (*FUN_get_includes_tree) STATE_node_updated ¶
func (fun *FUN_get_includes_tree) STATE_node_updated()
func (*FUN_get_includes_tree) STATE_start ¶
func (fun *FUN_get_includes_tree) STATE_start()
func (*FUN_get_includes_tree) String ¶
func (fun *FUN_get_includes_tree) String() string
type FUN_includes_md5 ¶
type FUN_includes_md5 struct { FUN_base // contains filtered or unexported fields }
func (*FUN_includes_md5) STATE_finish ¶
func (fun *FUN_includes_md5) STATE_finish()
func (*FUN_includes_md5) STATE_start ¶
func (fun *FUN_includes_md5) STATE_start()
func (*FUN_includes_md5) String ¶
func (fun *FUN_includes_md5) String() string
type FUN_top_level ¶
type FUN_top_level struct { FUN_base // contains filtered or unexported fields }
func (*FUN_top_level) STATE_finish ¶
func (fun *FUN_top_level) STATE_finish()
func (*FUN_top_level) STATE_start ¶
func (fun *FUN_top_level) STATE_start()
func (*FUN_top_level) String ¶
func (fun *FUN_top_level) String() string
type FUN_update_tgt ¶
type FUN_update_tgt struct { FUN_base // contains filtered or unexported fields }
func (*FUN_update_tgt) STATE_cmd_executed ¶
func (fun *FUN_update_tgt) STATE_cmd_executed()
func (*FUN_update_tgt) STATE_finish ¶
func (fun *FUN_update_tgt) STATE_finish()
func (*FUN_update_tgt) STATE_maybe_execute_cmd ¶
func (fun *FUN_update_tgt) STATE_maybe_execute_cmd()
func (*FUN_update_tgt) STATE_srcs_updated ¶
func (fun *FUN_update_tgt) STATE_srcs_updated()
func (*FUN_update_tgt) STATE_start ¶
func (fun *FUN_update_tgt) STATE_start()
func (*FUN_update_tgt) STATE_updated_by_other ¶
func (fun *FUN_update_tgt) STATE_updated_by_other()
func (*FUN_update_tgt) String ¶
func (fun *FUN_update_tgt) String() string
type File ¶
func (*File) ST_invalidError ¶
func (file *File) ST_invalidError()
func (*File) ST_propagateError ¶
func (file *File) ST_propagateError()
func (*File) ST_propagate_ok ¶
func (file *File) ST_propagate_ok()
func (*File) ST_updated ¶
type IncludesTree ¶
type IncludesTree struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.