Updated cfg file processing
No longer look at deprecated file.cfg, compiler will only look at file.nimrod.cfg
This commit is contained in:
parent
ed0cb19909
commit
e145231a1d
1 changed files with 0 additions and 5 deletions
|
|
@ -243,11 +243,6 @@ proc LoadConfigs*(cfg: string) =
|
||||||
readConfigFile(pd / cfg)
|
readConfigFile(pd / cfg)
|
||||||
|
|
||||||
if gProjectName.len != 0:
|
if gProjectName.len != 0:
|
||||||
var conffile = changeFileExt(gProjectFull, "cfg")
|
|
||||||
if conffile != pd / cfg and existsFile(conffile):
|
|
||||||
readConfigFile(conffile)
|
|
||||||
rawMessage(warnConfigDeprecated, conffile)
|
|
||||||
|
|
||||||
# new project wide config file:
|
# new project wide config file:
|
||||||
readConfigFile(changeFileExt(gProjectFull, "nimrod.cfg"))
|
readConfigFile(changeFileExt(gProjectFull, "nimrod.cfg"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue