mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cmd/v: handle -cc and -cg
This commit is contained in:
parent
d228b3916b
commit
e305757d07
@ -121,7 +121,8 @@ fn parse_args(args []string) (&pref.Preferences, string) {
|
|||||||
arg := args[i]
|
arg := args[i]
|
||||||
match arg {
|
match arg {
|
||||||
'-v' { res.is_verbose = true }
|
'-v' { res.is_verbose = true }
|
||||||
'-cg' {
|
'-cg' { res.is_debug = true }
|
||||||
|
'-cc' {
|
||||||
res.ccompiler = cmdline.option(args, '-cc', 'cc')
|
res.ccompiler = cmdline.option(args, '-cc', 'cc')
|
||||||
i++
|
i++
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user