mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
Updated cfg file processing
No longer look at deprecated file.cfg, compiler will only look at file.nimrod.cfg
This commit is contained in:
committed by
Grzegorz Adam Hankiewicz
parent
ed0cb19909
commit
e145231a1d
@@ -243,11 +243,6 @@ proc LoadConfigs*(cfg: string) =
|
||||
readConfigFile(pd / cfg)
|
||||
|
||||
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:
|
||||
readConfigFile(changeFileExt(gProjectFull, "nimrod.cfg"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user