1
0
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:
Alexander Medvednikov 2020-04-02 17:55:00 +02:00
parent d228b3916b
commit e305757d07

View File

@ -121,7 +121,8 @@ fn parse_args(args []string) (&pref.Preferences, string) {
arg := args[i]
match arg {
'-v' { res.is_verbose = true }
'-cg' {
'-cg' { res.is_debug = true }
'-cc' {
res.ccompiler = cmdline.option(args, '-cc', 'cc')
i++
}