make the new --genDeps feature optional since it makes compilations slower

This commit is contained in:
Andreas Rumpf 2017-12-21 17:14:31 +01:00
commit da90657317
3 changed files with 4 additions and 2 deletions

View file

@ -611,7 +611,7 @@ proc processSwitch(switch, arg: string, pass: TCmdLinePass, info: TLineInfo;
of "skipparentcfg":
expectNoArg(switch, arg, pass, info)
incl(gGlobalOptions, optSkipParentConfigFiles)
of "genscript":
of "genscript", "gendeps":
expectNoArg(switch, arg, pass, info)
incl(gGlobalOptions, optGenScript)
of "colors": processOnOffSwitchG({optUseColors}, arg, pass, info)