Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commandline ¶
type Commandline struct { Program string Srcs []string // *.cc *.cpp *.c FileType string // /Fo -o Obj string // -I ./ /I./ -I./ -msvc /FI Includes []string // -D /D Macros []string // /MT /MD Runtimes []string //O1 O2 O3 Opts []string // /std:c++11 Std string // /W Warnings []string // /Yc Pchs []string // -target Target string Others []string Unsupported []string }
func Parse ¶
func Parse(argv []string) (Commandline, error)
func (*Commandline) RenderToPreprocess ¶
func (cmd *Commandline) RenderToPreprocess() []string
输出预处理的命令
func (*Commandline) RenderToServerSide ¶
func (cmd *Commandline) RenderToServerSide(src string) []string
输出服务端编译命令参数列表
Click to show internal directories.
Click to hide internal directories.